mirror of
https://github.com/postalserver/postal.git
synced 2026-10-21 03:36:05 +00:00
Allow SMTP server to load different key types (#2126)
This commit is contained in:
@@ -137,7 +137,7 @@ module Postal
|
||||
end
|
||||
|
||||
def self.smtp_private_key
|
||||
@smtp_private_key ||= OpenSSL::PKey::RSA.new(File.read(smtp_private_key_path))
|
||||
@smtp_private_key ||= OpenSSL::PKey.read(File.read(smtp_private_key_path))
|
||||
end
|
||||
|
||||
def self.smtp_certificate_path
|
||||
|
||||
Reference in New Issue
Block a user