diff options
Diffstat (limited to 'certs/app/models/client_certificate.rb')
-rw-r--r-- | certs/app/models/client_certificate.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/certs/app/models/client_certificate.rb b/certs/app/models/client_certificate.rb index b2b8c0d..9cde820 100644 --- a/certs/app/models/client_certificate.rb +++ b/certs/app/models/client_certificate.rb @@ -43,8 +43,8 @@ class ClientCertificate def self.root_ca @root_ca ||= begin - crt = File.read(APP_CONFIG[:ca_cert_path]) - key = File.read(APP_CONFIG[:ca_key_path]) + crt = File.read(APP_CONFIG[:client_ca_cert]) + key = File.read(APP_CONFIG[:client_ca_key]) openssl_cert = OpenSSL::X509::Certificate.new(crt) cert = CertificateAuthority::Certificate.from_openssl(openssl_cert) cert.key_material.private_key = OpenSSL::PKey::RSA.new(key, APP_CONFIG[:ca_key_password]) |