module LetsEncryptTLS
Provides an environment that uses "Lets Encrypt" for TLS.
Definitions
def lets_encrypt_root
The Lets Encrypt certificate store path.
Implementation
def lets_encrypt_root
"/etc/letsencrypt/live"
end
def ssl_certificate_path
The public certificate path.
Signature
-
attribute
String
Implementation
def ssl_certificate_path
File.join(lets_encrypt_root, authority, "fullchain.pem")
end
def ssl_private_key_path
The private key path.
Signature
-
attribute
String
Implementation
def ssl_private_key_path
File.join(lets_encrypt_root, authority, "privkey.pem")
end