Author Topic: Problem when I add ssl  (Read 33169 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Re: Problem when I add ssl
« Reply #15 on: March 24, 2015, 09:00:27 PM »
delete everything from this file: /usr/local/apache/conf.d/vhosts-ssl.conf

/etc/pki/tls/certs
delete your domain certificates files from here .crt,.cert,.bundle

/etc/pki/tls/private
delete your domain key file

Goto ssl generator fillin the entries and at the bottom also tick generate self signed certificate. Now generate ssl

Now this will generate csr, crt and key file.

Now you can goto ssl cert manager and complete rest of the process.

Problem is resolved Apache stop

Code: [Select]
Stopping httpd: [OK]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using Server.11111.com for ServerName
[OK]

But when I enter through Add https does not work site

Re: Problem when I add ssl
« Reply #16 on: March 24, 2015, 09:09:05 PM »
delete everything from this file: /usr/local/apache/conf.d/vhosts-ssl.conf

/etc/pki/tls/certs
delete your domain certificates files from here .crt,.cert,.bundle

/etc/pki/tls/private
delete your domain key file

Goto ssl generator fillin the entries and at the bottom also tick generate self signed certificate. Now generate ssl

Now this will generate csr, crt and key file.

Now you can goto ssl cert manager and on the right side you will see  Install SSL Certificate.

in certificate, choose yourdomain.cert
for user, choose username of account
path, specify correct path
domain, name of domain
 now click install ssl. This will enable ssl.

Open ur site with https and you will see error certificate means https is working.

on ssl cert manager page, scrool down and you will see option key, csr, cert,bundle, test. Replace content inside cert and bundle provided by comodo and restart apache (service httpd restart)

Offline
*
Re: Problem when I add ssl
« Reply #17 on: March 24, 2015, 09:28:48 PM »
I use this site cloudflare
You activate the asset and you choose the full ssl (strict)

But the site does not work
Is this how displays a certificate provided by this site or Ahalhadh that you Baadvtha from the control panel

Error 526 Ray ID: 1cc56fec851d0bed
Invalid SSL certificate


Also the same message when I work for Apache Restart

Code: [Select]
Stopping httpd: [  OK  ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using Server.11111.com for ServerName
[  OK  ]

Re: Problem when I add ssl
« Reply #18 on: March 24, 2015, 09:49:30 PM »
Yes, that message is displayed when ssl is not signed. http://awesomescreenshot.com/0234pmfef0
 
Well I am not creator of centos web panel. You can always get paid support just in 5$ from http://centos-webpanel.com/support-services.
Our primary business is to provide hosting to client, so your issue is out of my reach unless I have access to server.
« Last Edit: March 24, 2015, 09:54:13 PM by BullTen »

Offline
*
Re: Problem when I add ssl
« Reply #19 on: March 25, 2015, 03:55:49 PM »
ok thx

Offline
*
Re: Problem when I add ssl
« Reply #20 on: May 14, 2015, 03:48:04 PM »
I just experienced this exact same issue. BullTen, your info was extremely helpful and allowed me to resolve it. The solution didn't work at first until I realized I needed to use the newly generated CSR to re-key the cert with the Cert provider before replacing all the info in the three files, but once I figured that out we were free and clear.

Thank you.

Offline
*
Re: Problem when I add ssl
« Reply #21 on: November 16, 2017, 06:03:17 AM »
delete everything from this file: /usr/local/apache/conf.d/vhosts-ssl.conf

/etc/pki/tls/certs
delete your domain certificates files from here .crt,.cert,.bundle

/etc/pki/tls/private
delete your domain key file

Goto ssl generator fillin the entries and at the bottom also tick generate self signed certificate. Now generate ssl

Now this will generate csr, crt and key file.

Now you can goto ssl cert manager and complete rest of the process.

in AWS I have to use NAT mode, and after auto SSL of the user, the installing of Softaculous break the CWP, I had to use sh generate_hostname_ssl under terminal to restart CWP, but the certificate invalid.  brijendrasial's comments saved my server.  I didn't tick the self signed certificate in ssl generator.
« Last Edit: November 16, 2017, 06:30:35 AM by xjlin0 »