You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "jim@k6ccc.org" <ji...@k6ccc.org> on 2024/09/18 18:51:38 UTC
[users@httpd] SSL setup assistance
I know this is going to be very basic for most of you.
I am running Apache on a Windows server with at least close to latest release. It host my personal website and a website for my home Christmas light show. Just simple static web pages - nothing fancy at all. There is absolutely nothing that needs any degree of security. As such I have never made any attempt to set up SSL on the server.
This is becoming an issue because more and more browsers are getting picky about http only traffic - in particular imbedding an image from a http website into an otherwise https website (lighting forums running https with images imbedded from my website is the specific issue).
I tried to set up SSL on my server a couple years ago and after whatever changes were made, Apache would not even start (and I don't remember what error message were logged). So I reverted the Apache config back to what it had been and ignored the issue for a few more years.
So can someone either point me to a good step by step or walk me through what I need to do to get this working. I had gotten the cert back then via Let's Encrypt, and that was the easy part.
73
-----
Jim Walls - K6CCC
jim@k6ccc.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] SSL setup assistance
Posted by Frank Gingras <th...@apache.org>.
On Wed, Sep 18, 2024 at 3:02 PM Marc <Ma...@f1-outsourcing.eu> wrote:
> >
> > I am running Apache on a Windows server with at least close to latest
> > release. It host my personal website and a website for my home Christmas
> > light show. Just simple static web pages - nothing fancy at all. There
> > is absolutely nothing that needs any degree of security. As such I have
> > never made any attempt to set up SSL on the server.
> >
> > This is becoming an issue because more and more browsers are getting
> > picky about http only traffic - in particular imbedding an image from a
> > http website into an otherwise https website (lighting forums running
> > https with images imbedded from my website is the specific issue).
> >
> > I tried to set up SSL on my server a couple years ago and after whatever
> > changes were made, Apache would not even start (and I don't remember what
> > error message were logged). So I reverted the Apache config back to what
> > it had been and ignored the issue for a few more years.
> >
> > So can someone either point me to a good step by step or walk me through
> > what I need to do to get this working. I had gotten the cert back then
> > via Let's Encrypt, and that was the easy part.
>
> just add this and change your port
>
> SSLEngine on
> SSLCertificateFile "/home/acme/www.xxxxxxxxx.cer"
> SSLCertificateChainFile "/home/acme/www.xxxxxx.cer"
> SSLCertificateKeyFile "/home/acme/www.xxxxxxxxx.key"
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
Marc,
You should not be using SSLCertificateChainFile any more, in fact.
Nowadays, the CA is handled differently.
RE: [users@httpd] SSL setup assistance
Posted by Marc <Ma...@f1-outsourcing.eu>.
>
> I am running Apache on a Windows server with at least close to latest
> release. It host my personal website and a website for my home Christmas
> light show. Just simple static web pages - nothing fancy at all. There
> is absolutely nothing that needs any degree of security. As such I have
> never made any attempt to set up SSL on the server.
>
> This is becoming an issue because more and more browsers are getting
> picky about http only traffic - in particular imbedding an image from a
> http website into an otherwise https website (lighting forums running
> https with images imbedded from my website is the specific issue).
>
> I tried to set up SSL on my server a couple years ago and after whatever
> changes were made, Apache would not even start (and I don't remember what
> error message were logged). So I reverted the Apache config back to what
> it had been and ignored the issue for a few more years.
>
> So can someone either point me to a good step by step or walk me through
> what I need to do to get this working. I had gotten the cert back then
> via Let's Encrypt, and that was the easy part.
just add this and change your port
SSLEngine on
SSLCertificateFile "/home/acme/www.xxxxxxxxx.cer"
SSLCertificateChainFile "/home/acme/www.xxxxxx.cer"
SSLCertificateKeyFile "/home/acme/www.xxxxxxxxx.key"
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] SSL setup assistance
Posted by "jim@k6ccc.org" <ji...@k6ccc.org>.
Thanks guys for the pointers. I will play with this in the next day or two. Also take the opportunity to update to the latest version (I'm one behind).
Jim
-----Original Message-----
From: "Sean Conner" <sp...@conman.org>
Sent: Wednesday, September 18, 2024 13:27
To: users@httpd.apache.org
Subject: Re: [users@httpd] SSL setup assistance
It was thus said that the Great jim@k6ccc.org once stated:
> So can someone either point me to a good step by step or walk me through
> what I need to do to get this working. I had gotten the cert back then
> via Let's Encrypt, and that was the easy part.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] SSL setup assistance
Posted by Sean Conner <sp...@conman.org>.
It was thus said that the Great jim@k6ccc.org once stated:
> So can someone either point me to a good step by step or walk me through
> what I need to do to get this working. I had gotten the cert back then
> via Let's Encrypt, and that was the easy part.
I have a write-up of what I went through to get a secure site running
here:
https://boston.conman.org/2022/12/07.2
Note that this talks about using mod_md, an Apache module that is part of
the distribution that automatically updates the certificate from Let's
Encrypt. I even wrote up a checklist of items to do to get this working:
https://boston.conman.org/2022/12/09.3
-spc (Hope this helps some)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] SSL setup assistance
Posted by Yehuda Katz <ye...@ymkatz.net>.
On Wed, Sep 18, 2024 at 2:56 PM Frank Gingras <th...@apache.org> wrote:
>
>> You basically need to load the mod_ssl module with LoadModule, edit the
> :443 vhost and add SSLEngine on, SSLCertificateFile and
> SSLCertificateKeyFile.
>
I also recommend looking at the Mozilla SSL Configuration Generator. It
will help you make sure your website is using the best ciphers:
https://ssl-config.mozilla.org/#server=apache&version=2.4.41&config=modern&openssl=1.1.1k&guideline=5.7
You can test how browsers will see your website using the Qualys SSL
Tester: https://www.ssllabs.com/ssltest/
- Y
Re: [users@httpd] SSL setup assistance
Posted by Frank Gingras <th...@apache.org>.
On Wed, Sep 18, 2024 at 2:52 PM jim@k6ccc.org <ji...@k6ccc.org> wrote:
> I know this is going to be very basic for most of you.
>
> I am running Apache on a Windows server with at least close to latest
> release. It host my personal website and a website for my home Christmas
> light show. Just simple static web pages - nothing fancy at all. There is
> absolutely nothing that needs any degree of security. As such I have never
> made any attempt to set up SSL on the server.
>
> This is becoming an issue because more and more browsers are getting picky
> about http only traffic - in particular imbedding an image from a http
> website into an otherwise https website (lighting forums running https with
> images imbedded from my website is the specific issue).
>
> I tried to set up SSL on my server a couple years ago and after whatever
> changes were made, Apache would not even start (and I don't remember what
> error message were logged). So I reverted the Apache config back to what
> it had been and ignored the issue for a few more years.
>
> So can someone either point me to a good step by step or walk me through
> what I need to do to get this working. I had gotten the cert back then via
> Let's Encrypt, and that was the easy part.
>
> 73
> -----
> Jim Walls - K6CCC
> jim@k6ccc.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
You basically need to load the mod_ssl module with LoadModule, edit the
:443 vhost and add SSLEngine on, SSLCertificateFile and
SSLCertificateKeyFile.