Skip to main content
Solved

configure SSL certiticate on linux command center

  • August 23, 2024
  • 4 replies
  • 104 views

Forum|alt.badge.img+5

Hello,

I have deploy a dedicated Command center on RHEL 8.8 in 11.34 version.

i tried to configure a CA trusted certificate on the server.

i get error message when trying to connect to the URL with wget -p command :: 443... failed: Connection refused.

i have added a pfx files (certificate size is 2048 and set the password  + PKCS12 in the server.xml.

restart the tomcat service.

thanks in advance for your help.

Regards,

 
 

Best answer by Jacek Piechucki

If the cert is an issue, port will not start. You can check the reason in [Log files] folder Web\Tomcat_0.log 

4 replies

Several questions here:

  1. is port 443 responding?
  2. what is listening on port 443?

Forum|alt.badge.img+5
  • Author
  • Apprentice
  • August 23, 2024

Several questions here:

  1. is port 443 responding?
  2. what is listening on port 443?

Port 443 is open.when i set the server.xml self-signed cert, the test is ok :

wget -p https://localhost
--2024-08-23 13:56:35--  https://localhost/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:443... connected.
ERROR: The certificate of ‘localhost’ is not trusted.
ERROR: The certificate of ‘localhost’ hasn't got a known issuer.
The certificate's owner does not match hostname ‘localhost’
 

netstat -tulpn | grep ':443'
tcp6       0      0 :::443                  :::*                    LISTEN      204077/java
 

regards,


Forum|alt.badge.img+5
  • Author
  • Apprentice
  • August 23, 2024

cSeveral questions here:

  1. is port 443 responding?
  2. what is listening on port 443?

Hi Jacek,

Yes port 443 is listening and responding, with the self-signed certificate i have no issues.

issues come with the CA signed-Certificate.

 

regards,


If the cert is an issue, port will not start. You can check the reason in [Log files] folder Web\Tomcat_0.log