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.


10
11
12
13
# File 'lib/ftpd/insecure_certificate.rb', line 10

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