Module: Ftpd::InsecureCertificate

Included in:
Example::Main
Defined in:
lib/ftpd/insecure_certificate.rb

Overview

This mixin provides an insecure SSL certificate. This certificate should only be used for testing.

Instance Method Summary collapse

Instance Method Details

#insecure_certfile_pathObject

The path of an insecure SSL certificate.



12
13
14
15
# File 'lib/ftpd/insecure_certificate.rb', line 12

def insecure_certfile_path
  File.expand_path('../../insecure-test-cert.pem',
                   File.dirname(__FILE__))
end