SSL Error With Certificate From ZeroSSL

If you hit any installation issues or cannot connect to your freshly installed UnrealIRCd then this forum is for you.

Moderator: Supporters

Post Reply
sadan
Posts: 1
Joined: Sun Nov 14, 2021 4:37 pm

SSL Error With Certificate From ZeroSSL

Post by sadan »

I have obtained an ssl certificate from zerossl.com and installed it on my server, however upon connecting I get this error:

Code: Select all

Lua version 1.3/5.1 loaded.
 Update Checker plugin loaded
* Looking up 3.140.249.187
* Connecting to 3.140.249.187:6697 (3.140.249.187:6697)
* * Subject: /CN=3.140.249.187
* * Issuer: /C=AT/O=ZeroSSL/CN=ZeroSSL RSA Domain Secure Site CA
* * Subject: /CN=3.140.249.187
* * Issuer: /C=AT/O=ZeroSSL/CN=ZeroSSL RSA Domain Secure Site CA
* * Subject: /CN=3.140.249.187
* * Issuer: /C=AT/O=ZeroSSL/CN=ZeroSSL RSA Domain Secure Site CA
* * Certification info:
*   Subject:
*     CN=3.140.249.187
*   Issuer:
*     C=AT
*     O=ZeroSSL
*     CN=ZeroSSL RSA Domain Secure Site CA
*   Public key algorithm: rsaEncryption (2048 bits)
*   Sign algorithm sha384WithRSAEncryption
*   Valid since Nov 13 00:00:00 2021 GM to Feb 11 23:59:59 2022 GM
* * Cipher info:
*   Version: TLSv1.3, cipher TLS_CHACHA20_POLY1305_SHA256 (256 bits)
* Connection failed (unable to verify the first certificate.? (21))
Using the self signed certificate from the install process only results in the self signed certificate warning.
PeGaSuS
Posts: 80
Joined: Tue Jun 27, 2017 4:42 pm

Re: SSL Error With Certificate From ZeroSSL

Post by PeGaSuS »

Code: Select all

*   Subject:
*     CN=3.140.249.187
A certificate can't be verified when the hostname that should be in the CN is set to an IP.

I assume that you're giving a hostname like irc.domain.tld when UnrealIRCd generates the it?

Also, why don't you use Let's Encrypt, instead?

Cheers
What goes around comes around!
Post Reply