fix trusted cert env

This commit is contained in:
Pete Matsyburka
2024-05-02 13:39:47 +03:00
parent 897750ba1e
commit 58797891c7
+1 -1
View File
@@ -66,7 +66,7 @@ module Docuseal
def trusted_certs
@trusted_certs ||=
ENV['TRUSTED_CERTS'].to_s.split("\n\n").map do |base64|
ENV['TRUSTED_CERTS'].to_s.gsub('\\n', "\n").split("\n\n").map do |base64|
OpenSSL::X509::Certificate.new(base64)
end
end