Module: Falcon::Environment::LetsEncryptTLS
- Defined in:
- lib/falcon/environment/lets_encrypt_tls.rb
Overview
Provides an environment that uses “Lets Encrypt” for TLS.
Instance Method Summary collapse
-
#lets_encrypt_root ⇒ Object
The Lets Encrypt certificate store path.
- #ssl_certificate_path ⇒ Object
- #ssl_private_key_path ⇒ Object
Instance Method Details
#lets_encrypt_root ⇒ Object
The Lets Encrypt certificate store path.
15 16 17 |
# File 'lib/falcon/environment/lets_encrypt_tls.rb', line 15 def lets_encrypt_root '/etc/letsencrypt/live' end |
#ssl_certificate_path ⇒ Object
21 22 23 |
# File 'lib/falcon/environment/lets_encrypt_tls.rb', line 21 def ssl_certificate_path File.join(lets_encrypt_root, , "fullchain.pem") end |
#ssl_private_key_path ⇒ Object
27 28 29 |
# File 'lib/falcon/environment/lets_encrypt_tls.rb', line 27 def ssl_private_key_path File.join(lets_encrypt_root, , "privkey.pem") end |