module Falcon::Environment::LetsEncryptTLS

def lets_encrypt_root

@parameter [String]
The Lets Encrypt certificate store path.
def lets_encrypt_root
	"/etc/letsencrypt/live"
end

def ssl_certificate_path

@attribute [String]
The public certificate path.
def ssl_certificate_path
	File.join(lets_encrypt_root, authority, "fullchain.pem")
end

def ssl_private_key_path

@attribute [String]
The private key path.
def ssl_private_key_path
	File.join(lets_encrypt_root, authority, "privkey.pem")
end