![]() |
Changing SSL box not affect vhost file
ISPconfig ver 3.0.3.3
OS: CentOS 5.7 x86_64 Problem: Sites-->Website --> Webdomain --> SSL checkbox No matter if it is checked or not - there are no changes saved to vhost file ;( Here is log from debug loglevel ispconfig.log while ->first: unchecking SSL box Code:
23.10.2011-18:21 - DEBUG - Found 1 changes, starting update process.-> check this SSL box on again. Code:
23.10.2011-18:23 - DEBUG - Found 1 changes, starting update process.23.10.2011-18:21 - DEBUG - Disable SSL for: my.domain (this one is OK) 23.10.2011-18:23 - DEBUG - Disable SSL for: my.domain File my.domain.vhost got new timestamp only. BTW. Changing other attributes eg. IP address working fine. |
After you have enabled the SSL checkbox, you must go to the SSL tab and create a certificate. This is also described in the ISPConfig 3 Manual.
|
Quote:
|
I have Comodo CA cert already installed
I did it by copy and paste into texboxes: 1. SSL Request - content of filename: AddTrustExternalCARoot.crt 2. SSL Certificate - content of filename: my.domain.crt 3. SSL Bundle - content of filename: COMODOHigh-AssuranceSecureServerCA.crt Then i choose SSL Action: Save Certificate. Saving makes debug info: Code:
24.10.2011-10:33 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.I think this warning info has nothing related to this problem, am i right ? Certificates are saved in this location: Code:
# ls -l /var/www/clients/client3/web91/ssl |
Quote:
|
Quote:
I removed certificate by choosing SSL action 'Delete Certificate'. Folder .../web/ssl/ is empty now. I also cleared all textboxes on 'Web Domain' and I checked vhost file (OK - it is without SSL directives). Now I started from the beginning. I filled all required fields (Now State, Locality, Organisation, Organisation Unit, Country, SSL Domain) and choose SSL Action 'Create Certificate'. And... It works! :) Folder .../web/ssl has now these files: Code:
# ls -l /var/www/clients/client23/web91/sslNow I have to figure out how to put COMODO Certificate. SSL Bundle textbox is empty so I should fill this box with intermediate cert (file: COMODOHigh-AssuranceSecureServerCA.crt) ? What else should I do ? |
You have to sign the csr now so that you get a new trusted certificate from comodo. Comodo should to the reiussue of the certificate for free. So the step sre now:
1) Login to your comodo account and request a reissue of the ssl cert base on the csr that is shown in the ispconfig interface. 2) You will get a new ssl certificate from comodo then, copy the ontnets of this new certificate into the certificate field in ispconfig and the content of the ssl intermediate cert into the ssl bundle field. Then select save certificate as action and click on save. |
I did it my way and it works now - but it was a bit sneaky idea ;)
While SSL is working now (I mean vhost file contain SSL info), I copied into Website Webdomain texboxes content of files I own before: 1. SSL Request - content of filename: my.domain.csr 2. SSL Certificate - content of filename: my.domain.crt 3. SSL Bundle - content of filename: COMODOHigh-AssuranceSecureServerCA.crt Then simply apply SSL Action 'Save Certificate' my.domain.csr file that I previously generated myself for CA Authority (COMODO) for certificate request process. my.domain.crt - domain certificate received from CA. Then I copied my.domain.key file to .../web/sssl folder. This file was also created during certificate request process for signing my.domain.csr file. That file replaced created by the ISPconfig one. But... there is a little problem while restart httpd service: Code:
# service httpd restart |
You created a encyrpted ssl key, so that it requires a password now. Make sure that you dont reboot the server now, it will not come up again until you fix your key. You will have to decrypt the key and store the decrypted key instead of the encrypted one.
|
Quote:
Code:
# openssl rsa -in my.domain.key -out new.my.domain.keyAnyway thanks for a great help. [PROBLEM SOLVED] |
| All times are GMT +2. The time now is 07:40. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.