Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Could not load certificate error (SSL)
#4
(07-10-2018, 09:43 PM)Alexandre Machado Wrote:
(07-10-2018, 01:25 PM)Roman Bay Wrote:
(07-04-2018, 04:23 PM)Roman Bay Wrote: Hello,

One of our customers has "Could not load certificate. error:00000000:lib(0):func(0):reason(0)" errors. 
They said that Web Server intermittently reports an exception stating that the certificates cannot be loaded (after stopping and restarting the Web Server on some occasions no exceptions are raised). 

IntraWeb version: 14.1.2

Please see attached exception file

I can not reproduce it on my PC. Has anybody ever encountered such a error?

I could reproduce it on my PC with customer ".pem" files.
I have noticed that cert.pem file contain 3 sections: 
-----BEGIN CERTIFICATE-----
-----------------------------
-----END CERTIFICATE-----
But If I remove two of them and leave only one then this error is not displayed. So I think that issue related to correct converting ".pfx" file to customcert.pem file and customroot.pem as well.
I'm not sure I understand this... 

Which 3 sections are you referring to? 

For instance, this is a real, working, self signed certificate:

-----BEGIN CERTIFICATE-----
MIIDQjCCAiqgAwIBAgIBATANBgkqhkiG9w0BAQsFADAUMRIwEAYDVQQDEwkxMjcu
............................................................................................................................
-----END CERTIFICATE-----

The file should just contain this. What else does your file contain?

Customers file was similar to this (3 parts BEGIN END):

-----BEGIN CERTIFICATE-----
MIIDQjCCAiqgAwIBAgIBATANBgkqhkiG9w0BAQsFADAUMRIwEAYDVQQDEwkxMjcu
........................................................................................................................
6NLpc5iknAMd+JfeygkZB8auLw1/dw==
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIDQjCCAiqgAwIBAgIBATANBgkqhkiG9w0BAQsFADAUMRIwEAYDVQQDEwkxMjcu
........................................................................................................................
6NLpc5iknAMd+JfeygkZB8auLw1/dw==
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIDQjCCAiqgAwIBAgIBATANBgkqhkiG9w0BAQsFADAUMRIwEAYDVQQDEwkxMjcu
........................................................................................................................
6NLpc5iknAMd+JfeygkZB8auLw1/dw==
-----END CERTIFICATE-----
Reply


Messages In This Thread
RE: Could not load certificate error (SSL) - by Roman Bay - 07-31-2018, 01:44 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)