You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by peshoTDI <ha...@gmail.com> on 2012/04/05 14:27:04 UTC

[users@httpd] Trouble setting HTTPS

Hi all,

I've been trying to set up HTTPS connection to my website.
I created a selfsigned certificate /etc/ssl/cert/cert-https.crt
The corresponding private key is /etc/ssl/private/key-https.key

In the VirtualHost in sites-enabled/mysite I added:
 SSLEngine on
 SSLOptions +StrictRequire
 SSLCertificateFile /etc/ssl/certs/cert-https.crt
 SSLCertificateKeyFile /etc/ssl/private/key-https.key

... and restarted apache

When I try to access the website I am asked to confirm the certificate, but
after I add it to the exceptions I get:
Firefox: The connection to the server was reset while the page was loading.
Chrome: Unable to load the webpage because the server sent no data.

Thanks in advance!
-- 
View this message in context: http://old.nabble.com/Trouble-setting-HTTPS-tp33569672p33569672.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Trouble setting HTTPS

Posted by Eric Covener <co...@gmail.com>.
On Thu, Apr 5, 2012 at 8:27 AM, peshoTDI <ha...@gmail.com> wrote:
>
> Hi all,
>
> I've been trying to set up HTTPS connection to my website.
> I created a selfsigned certificate /etc/ssl/cert/cert-https.crt
> The corresponding private key is /etc/ssl/private/key-https.key
>
> In the VirtualHost in sites-enabled/mysite I added:
>  SSLEngine on
>  SSLOptions +StrictRequire
>  SSLCertificateFile /etc/ssl/certs/cert-https.crt
>  SSLCertificateKeyFile /etc/ssl/private/key-https.key
>
> ... and restarted apache
>
> When I try to access the website I am asked to confirm the certificate, but
> after I add it to the exceptions I get:
> Firefox: The connection to the server was reset while the page was loading.
> Chrome: Unable to load the webpage because the server sent no data.
>
> Thanks in advance!

error log?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org