-
From the provided logs it looks like Tigase correctly loaded the certificate:
SSLContextContainer.init() CONFIG: Loaded server certificate for domain: chat.ginger-messenger.com from file: certs/chat.ginger-messenger.com.pem
Is the domain ok? Is the file mentioned in the logs ok (and not the default one - self-signed generated by Tigase)?
-
As the logs indicate:
2014-09-02 15:03:46.872 [main] SSLContextContainer.init() WARNING: Cannot load certficate from file: certs/chat.ginger-messenger.com.crt java.lang.RuntimeException: Can't find root certificate in chain!
Certificate chain is not complete. Please make sure that every needed parts are included.
-
I'm sorry, above bit is related to different file.
Given previous information - that the domain is ok, the file path is ok as well that the file under that path is correct (i.e. not replaced by the self-signed certificate) then this file was loaded correctly without creating backup file and will be served to the client.
Could you confirm?
-
Please:
-
remove all files that are not *.pem certificate from
certs/
directory and create a fresh logs, then share them; -
run following command:
java -cp jars/tigase-server.jar tigase.cert.CertificateUtil --load-cert certs/<cert_file.pem>
and share the resulting output.
-
-
Hi,
Logs files are in log folder and outputs one are in output folder.
We run first the java -cp command with chat.ginger-messenger.com.pem and after with chat.ginger-messenger.com.pem.bak.
The chat.ginger-messenger.com.pem.bak file is our certificate that Tigase renames before regenerate it's own.
-
From the logs:
2014-09-15 17:19:33.626 [main] SSLContextContainer.init() WARNING: Cannot load certficate from file: certs/ginger-messenger.com.pem java.lang.RuntimeException: Can't find root certificate in chain!
And the certificate structure:
Subject: CN=chat.ginger-messenger.com Issuer: CN=Thawte DV SSL CA, OU=Domain Validated SSL, O="Thawte, Inc.", C=US Subject: CN=Thawte DV SSL CA, OU=Domain Validated SSL, O="Thawte, Inc.", C=US Issuer: CN=thawte Primary Root CA, OU="(c) 2006 thawte, Inc. - For authorized use only", OU=Certification Services Division, O="thawte, Inc.", C=US Subject: CN=thawte Primary Root CA, OU="(c) 2006 thawte, Inc. - For authorized use only", OU=Certification Services Division, O="thawte, Inc.", C=US Issuer: CN=Thawte Premium Server CA, OU=Certification Services Division, O=Thawte Consulting cc, L=Cape Town, ST=Western Cape, C=ZA
Please include also @CN=Thawte Premium Server CA@: thawte_Premium_Server_CA.pem
-
Hi,
Indeed I've forgotten to include the thawte_Premium_Server_CA.pem. Thank you for your help. It's work now.
You can check it here : [[https://xmpp.net/result.php?domain=chat.ginger-messenger.com&type=client]]
I'd like to know how you find that the thawte_Premium_Server_CA.pem is missing.
Best regards
Type |
Bug
|
Priority |
Normal
|
Assignee | |
RedmineID |
2232
|
Spent time |
0
|
I'm trying to load a SSL certificate sign by thawte in a XMPP server running on Tigase 5.2.
As described in this howto the certificate is in certs/ folder, but the server rename it with .bak extension and generate its own certificate. Anybody once faced this issue?
tigase.log.0 tigase-console.log Capture d’écran 2014-09-04 à 09.08.42.png Capture d’écran 2014-09-04 à 09.08.21.png Archive.zip logs.zip Capture d’écran 2014-09-17 à 13.28.55.png chat.ginger-messenger.com.pem.output chat.ginger-messenger.com.pem.bak.output