mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
fix trusted cert env
This commit is contained in:
1 parent
897750ba1e
commit
58797891c7
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user