Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/falcon/environment/lets_encrypt_tls.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ module Falcon
module Environment
# Provides an environment that uses "Lets Encrypt" for TLS.
module LetsEncryptTLS
include TLS

# The Lets Encrypt certificate store path.
# @parameter [String]
def lets_encrypt_root
Expand Down
2 changes: 1 addition & 1 deletion lib/falcon/environment/tls.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def ssl_private_key_path
# The private key.
# @returns [OpenSSL::PKey::RSA]
def ssl_private_key
OpenSSL::PKey::RSA.new(File.read(ssl_private_key_path))
OpenSSL::PKey.read(File.read(ssl_private_key_path))
end

# The SSL context to use for incoming connections.
Expand Down
Loading