Can somebody help with configuration of RapidSSL on Ubuntu/Apache2 for virtual host not Sentora panel?
How to set up SSL certificate (not self-signed) on virtual host on Ubuntu?
|
RE: How to set up SSL certificate (not self-signed) on virtual host on Ubuntu?
06-24-2015, 03:53 AM
(This post was last modified: 06-24-2015, 04:00 AM by stiuvert0007.
Edit Reason: New info
)
(06-23-2015, 10:09 PM)hotshot Wrote: Can somebody help with configuration of RapidSSL on Ubuntu/Apache2 for virtual host not Sentora panel? Have you read this? http://forums.sentora.org/showthread.php?tid=994 Because I have with no results I tried several ways but I just managed to get apache not working and I have to restore the initial configuration. Or the Sentora Docs? (I´m trying this method now, will return with results in a moment) http://docs.sentora.org/?node=64
RE: How to set up SSL certificate (not self-signed) on virtual host on Ubuntu?
06-24-2015, 04:47 AM
/ssl/folder/domain_cer.crt
<VirtualHost *:443> ServerAdmin you email ServerName domian DocumentRoot /var/sentora/hostdata/username/public_html/domain/ SSLEngine on SSLCertificateFile /ssl/folder/domain_cer.crt SSLCertificateKeyFile /ssl/folder/domain_key.key SSLCACertificateFile /ssl/folder/intermediate.crt SSLProtocol all -SSLv2 -SSLv3 SSLHonorCipherOrder on SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS !RC4" <Directory '/var/sentora/hostdata/username/public_html/domain/'> Options +FollowSymLinks -Indexes AllowOverride All Require all granted </Directory> </VirtualHost>
RE: How to set up SSL certificate (not self-signed) on virtual host on Ubuntu?
06-24-2015, 06:27 AM
(06-24-2015, 03:53 AM)stiuvert0007 Wrote:(06-23-2015, 10:09 PM)hotshot Wrote: Can somebody help with configuration of RapidSSL on Ubuntu/Apache2 for virtual host not Sentora panel? Yes, I tried everything I could google out with no result...
RE: How to set up SSL certificate (not self-signed) on virtual host on Ubuntu?
06-24-2015, 06:36 AM
(06-24-2015, 04:47 AM)Diablo925 Wrote: /ssl/folder/domain_cer.crt Paste this to Virtual Host Overide, change paths and thats it? Or where to put this please? That first row is right? Sorry for these questions bro but I made it so many times that I am crazy from this
RE: How to set up SSL certificate (not self-signed) on virtual host on Ubuntu?
06-24-2015, 06:44 AM
(This post was last modified: 06-24-2015, 06:46 AM by stiuvert0007.)
(06-24-2015, 06:36 AM)hotshot Wrote:(06-24-2015, 04:47 AM)Diablo925 Wrote: /ssl/folder/domain_cer.crt I´m in the same situation as you. Can´t install PositiveSSL certificate from Comodo. I´ve used this: </virtualHost> <virtualhost *:443> ServerName tilabmx.com ServerAlias www.tilabmx.com ServerAdmin hcmarcos@tilabmx.com DocumentRoot "/var/sentora/hostdata/zadmin/public_html/tilabmx_com" php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/tilabmx_com:/var/sentora/temp/" php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid$ SSLEngine on SSLCertificateKeyFile /etc/apache2/ssl/tilabmx_com.key SSLCertificateFile /etc/apache2/ssl/tilabmx_com.crt SSLCertificateChainFile /etc/apache2/ssl/tilabmx.com.ca-bundle SSLProtocol -All +TLSv1 +TLSv1.1 +TLSv1.2 SSLCipherSuite ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!A$ SSLHonorCipherOrder on ErrorLog "/var/sentora/logs/domains/zadmin/tilabmx.com-error.log" CustomLog "/var/sentora/logs/domains/zadmin/tilabmx.com-access.log" combined CustomLog "/var/sentora/logs/domains/zadmin/tilabmx.com-bandwidth.log" common <Directory "/var/sentora/hostdata/zadmin/public_html/tilabmx_com"> Options +FollowSymLinks -Indexes AllowOverride All Require all granted </Directory> AddType application/x-httpd-php .php3 .php ErrorDocument 500 /_errorpages/500.html ErrorDocument 403 /_errorpages/403.html ErrorDocument 404 /_errorpages/404.html ErrorDocument 510 /_errorpages/510.html DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm In the custom entry of Virtual host Override with no results. I can acces http but https doesn´t work. When I check port override to 443 apache stops working.
RE: How to set up SSL certificate (not self-signed) on virtual host on Ubuntu?
06-24-2015, 06:51 AM
I even checked permissions of my certificate files to 755 but https isn´t working
RE: How to set up SSL certificate (not self-signed) on virtual host on Ubuntu?
06-24-2015, 06:05 PM
(This post was last modified: 06-24-2015, 06:06 PM by Diablo925.)
SSLCertificateChainFile /etc/apache2/ssl/tilabmx.com.ca-bundle <-- Worng
need to be pem,crt,cer Thanks given by: stiuvert0007
RE: How to set up SSL certificate (not self-signed) on virtual host on Ubuntu?
06-24-2015, 07:49 PM
Code: ################################################################ This is my Sentora VHOST config file (httpd-vhosts.conf). I tried both intermediate.crt with same result. With this configuration, when I open fitcity.sk it opens Sentora CP except my site... When I put to my console: openssl s_client -connect fitcity.sk:443 I get: Code: openssl s_client -connect fitcity.sk:443 CONNECTED(00000003) CAN SOMEBODY HELP PLEASE???
RE: How to set up SSL certificate (not self-signed) on virtual host on Ubuntu?
06-24-2015, 11:01 PM
(06-24-2015, 07:49 PM)hotshot Wrote:Sorry I didn´t want to be an intruder in your post. Finally https is working for my site, with a 403 error but it is finally working. Just need help with that 403 error. Check out this post from Me.B Restore the httpd-vhosts.conf made by sentora, the one without "Listen 443" and all the conf to make your Vhost work with SSL. Leave it as it was written by Sentora. And then follow Me.B guide (12-07-2014, 07:39 AM)Me.B Wrote: In few lines the best solution is: |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Upgrade to Ubuntu 16.04 from 14.04 | HogensHero | 8 | 30 ,333 |
07-18-2020, 03:13 AM Last Post: dycott78 |
|
Ubuntu: How to Enable tls/ssl in proftpd | Diablo925 | 2 | 12 ,837 |
04-21-2020, 03:35 AM Last Post: iraqiboy90 |
|
Ubuntu 18.04 or 20.04 | Kangarooo | 1 | 6 ,950 |
03-20-2020, 11:39 AM Last Post: Jettaman |
Users browsing this thread: 2 Guest(s)