Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
The operating system my web server runs on is (include version): Centos
My hosting provider, if applicable, is:Hostgator
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I just purchased dedicated server from hostgator and got free ssl of letsencrypt, I tried to install xmpp - openfire into my server and while adding ssl in openfire its giving me error saying that “There was an error while trying to import the private key and signed certificate. Internal server error: The supplied certificate chain does not cover the domain of this XMPP service.”
Currently without SSL i can not connect to openfire and while trying to connect I am getting error saying “net::ERR_CERT_AUTHORITY_INVALID”
I tried every possible solution but can not get this error out.
Kindly help, any kind of help is much more appreciated
I have recently purchased the Hostgator Dedicated server with which i got letsencrypt ssl for free now my site is working on https so if I tried to connect xmpp with http it will not work so in xmpp we have option to upload ssl. when I upload ssl there the CRT and Key files gets uploaded successfully but but its not working on front end giving error of “net::ERR_CERT_AUTHORITY_INVALID" and when I tried to upload CABUNDLE and key its giving me the following error “There was an error while trying to import the private key and signed certificate. Internal server error: The supplied certificate chain does not cover the domain of this XMPP service.”
Thanks again for this quick reply.
I have uploaded the full chain certificate and the error is gone but still I am facing the same issue of auth validation on my browser the error says : net::ERR_CERT_AUTHORITY_INVALID
Please check the screenshot for more details.
thanks in advance. after your help i reached this point.
So you run Apache; And Certbot can use that to get a cert.
The cert does contain the name you use in XMPP.
But XMPP uses Java (not Apache) configuration.
I don't know how to configure this Java implementation of XMPP.
But the "fix" lies in it there. Most likely in it using the fullchain.pem file instead of cert.pem file.
Or maybe the client doesn't have LE root in its' trusted store.
These assumptions can be tested with OpenSSL or even easier with any web browser.
As shown from any web browser when you connect to https://myscrap.com:7443/http-bind/
You will see the error and the certificate in use:
It is NOT using the cert obtained by Apache/Certbot.
It is using a self-signed cert
So my assumptions were wrong but now you know where the problem is.