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
-
#insecure_certfile_path ⇒ Object
The path of an insecure SSL certificate.
Instance Method Details
#insecure_certfile_path ⇒ Object
The path of an insecure SSL certificate.
12 13 14 15 |
# File 'lib/ftpd/insecure_certificate.rb', line 12 def insecure_certfile_path File.('../../insecure-test-cert.pem', File.dirname(__FILE__)) end |