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

Instance Method Details

#lets_encrypt_rootObject

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_pathObject



21
22
23
# File 'lib/falcon/environment/lets_encrypt_tls.rb', line 21

def ssl_certificate_path
	File.join(lets_encrypt_root, authority, "fullchain.pem")
end

#ssl_private_key_pathObject



27
28
29
# File 'lib/falcon/environment/lets_encrypt_tls.rb', line 27

def ssl_private_key_path
	File.join(lets_encrypt_root, authority, "privkey.pem")
end