[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    Re: [users@httpd] How to deal with www and non-www domain names with one certificate?
From:       Adam Powell <adam () adaminfinitum ! com>
Date:       2020-02-05 10:55:17
Message-ID: CALsiKnN_cCoVx__D5Pth4HwFG7wY8jzGGKDEwzDgRqucmoiL3g () mail ! gmail ! com
[Download RAW message or body]

Hi Ed,
When I am setting up a server or virtual host, I start with this:
https://github.com/h5bp/html5-boilerplate/blob/master/dist/.htaccess

That's the configuration file from a project that is intended to jumpstart
web development projects and set smart defaults. It is well documented
particularly with inline comments.

I believe the default configuration is what you're describing but if you
need to make adjustments you can just comment or uncomment the appropriate
settings for your use case.

I then use Certbot <https://certbot.eff.org/> to generate an SSL
certificate that covers both the naked domain and the www subdomain (and
any other subdomains).

These 2 documents outline how to set up the configuration files:
https://httpd.apache.org/docs/2.4/configuring.html
https://httpd.apache.org/docs/2.4/sections.html

My suggestion would be to use the code in the HTML5 Boilerplate (the first
link) but do so in your main config file so that you avoid using
`.htaccess` files (and `AllowOverride` directives) altogether.

Another tool you might find useful is the Mozilla SSL configuration
generator <https://ssl-config.mozilla.org/>

It looks like you shared both the public and private encryption keys when
you included the SSL certificates so you should generate new
keys/certificates.

Hope that helps.

-Adam Powell
Founder, ADA First <https://www.adafirst.org/>

On Tue, Feb 4, 2020 at 1:03 PM edflecko . <edflecko@gmail.com> wrote:

> I don't understand how to deal with forcing all connections to
> www.sierraprogress.org to simply sierraprogress.org , forcing all
> connections to my website with https , and using only one certificate per
> domain name?
>
> Here's my unique server information:
> CentOS 7
> Server version: Apache/2.4.41 (codeit)
> OpenSSL 1.1.1c
>
> 1.) Forcing all connections to www.domainname.com to domainname.comis
> best done with a rewrite rule, isn't it? I've found some examples online,
> but I don't know if one is better than the others?
>
> RewriteEngine On
> RewriteCond %{HTTPS} off [OR]
> RewriteCond %{HTTP_HOST} ^www\. [NC]
> RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
> RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]
>
> RewriteEngine On
> RewriteBase /
> RewriteCond %{HTTP_HOST} ^([^.]+)\.sierraprogress\.org$ [NC]
> RewriteRule ^(.*)$ https://sierraprogress.org/$1 [R=301,L]
>
> RewriteEngine On
> RewriteCond %{HTTP_HOST} ^sierraprogress\.org$ [NC]
> RewriteRule ^ https://www. sierraprogress.org %{REQUEST_URI} [R=301,L]
>
> RewriteEngine on
> RewriteCond %{HTTP_HOST} ^www.sierraprogress.org
> RewriteRule (.*) https:// sierraprogress.org /$1 [R=301,L]
>
> Since I want ALL websites that this server will host to remove the www AND
> be https connections, maybe the first example is best?
>
> Do I just place this code snippet in my httpd.conf file?
>
> 2.) Here's my sierraprogress.org.conf file:
>
> <VirtualHost *:80>
>     ServerName sierraprogress.org
>     ServerAlias www.sierraprogress.org
> DocumentRoot /var/www/sierraprogress.org/public_html
> <Directory /var/www/sierraprogress.org/public_html>
>         Options -Indexes +FollowSymLinks
>         AllowOverride All
>     </Directory>
>     ErrorLog /var/www/sierraprogress.org/error.log
>     CustomLog /var/www/sierraprogress.org/requests.log combined
> </VirtualHost>
>
> <VirtualHost *:443>
>     DocumentRoot /var/www/sierraprogress.org/public_html
>     Protocols h2 h2c http/1.1
>     ServerName sierraprogress.org
>     ServerAlias www.sierraprogress.org
> <Directory /var/www/sierraprogress.org/public_html>
>         Options -Indexes +FollowSymLinks
>         AllowOverride All
>     </Directory>
> ErrorLog /var/www/sierraprogress.org/error.log
>     CustomLog /var/www/sierraprogress.org/requests.log combined
>     SSLEngine on
> SSLCertificateFile /etc/httpd/ssl/sierraprogress.crt
>     SSLCertificateKeyFile /etc/httpd/ssl/sierraprogress.key
> SSLCipherSuite HIGH:!aNULL:!MD5
> </VirtualHost>
>
> The one certificate I'm using ( sierraprogress.crt) works fine for
> sierraprogress.org connections but, of course, will NOT work for
> www.sierraprogress.org connections because of the domain name mis-match.
> I've also tried using a wildcard certificate for *.sierraprogress.org
> (see below), but I couldn't get that to work at all.
>
> Suggestions on how to handle these issues?
>
> Thank you for your time and suggestions!
> Ed
>
> Certificate Decoder - https://www.sslshopper.com/certificate-decoder.html
>
> -----BEGIN CERTIFICATE-----
>
> MIIIRTCCBy2gAwIBAgIRAOKGYmn0tkDkNQnJmw6pxPUwDQYJKoZIhvcNAQELBQAwdjELMAkGA1UE
>
> BhMCVVMxCzAJBgNVBAgTAk1JMRIwEAYDVQQHEwlBbm4gQXJib3IxEjAQBgNVBAoTCUludGVybmV0
>
> MjERMA8GA1UECxMISW5Db21tb24xHzAdBgNVBAMTFkluQ29tbW9uIFJTQSBTZXJ2ZXIgQ0EwHhcN
>
> MjAwMjAzMDAwMDAwWhcNMjIwMjAyMjM1OTU5WjCB9zELMAkGA1UEBhMCVVMxDjAMBgNVBBETBTk1
>
> ODExMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRMwEQYDVQQHEwpTYWNyYW1lbnRvMRMwEQYDVQQJEwpT
>
> dWl0ZSA0NTU0MRIwEAYDVQQJEwkxMTAyIFEgU3QxOjA4BgNVBAoTMUNhbGlmb3JuaWEgQ29tbXVu
>
> aXR5IENvbGxlZ2VzIENoYW5jZWxsb3IncyBPZmZpY2UxKjAoBgNVBAsTIVNpZXJyYSBDb21tdW5p
>
> dHkgQ29sbGVnZSBEaXN0cmljdDEdMBsGA1UEAwwUKi5zaWVycmFwcm9ncmVzcy5vcmcwggIiMA0G
>
> CSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDesbsGiNvbFKliUNCDwIi2vlQLZUReIy+RG+WQMT7/
>
> OFxUoqmakn425m7NcobMSE6YPhzpnSJrULaMWqipYYYm1L20oLcrCsE4yFsCT1pZcBwGDxbLjJHp
>
> izD18Q/KUub/shkpVzaFi6L2po6ePeUfIvutT0qZqGVZ/OFumWRMc6AXpoByxnKc6V5JAmMKl8rK
>
> gYZHKjzYaTo740IVqqTSfWNRMQjk8DH0H9MpztryZZXiuFOpc0v6nOMjnarcvejod823/+9yWNJS
>
> bLZP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lNBQ2VydGlmaWNh
> dGlvbkF1dGhvcml0eS5jcmwwdgYIKwYBBQUHAQEEajBoMD8GCCsGAQUFBzAChjNo
> dHRwOi8vY3J0LnVzZXJ0cnVzdC5jb20vVVNFUlRydXN0UlNBQWRkVHJ1c3RDQS5j
> cnQwJQYIKwYBBQUHMAGGGWh0dHA6Ly9vY3NwLnVzZXJ0cnVzdC5jb20wDQYJKoZI
> hvcNAQEMBQADggIBAC0RBjjW29dYaK+qOGcXjeIT16MUJNkGE+vrkS/fT2ctyNMU
> 11ZlUp5uH5gIjppIG8GLWZqjV5vbhvhZQPwZsHURKsISNrqOcooGTie3jVgU0W+0
> +Wj8mN2knCVANt69F2YrA394gbGAdJ5fOrQmL2pIhDY0jqco74fzYefbZ/VS29fR
> 5jBxu4uj1P+5ZImem4Gbj1e4ZEzVBhmO55GFfBjRidj26h1oFBHZ7heDH1Bjzw72
> hipu47Gkyfr2NEx3KoCGMLCj3Btx7ASn5Ji8FoU+hCazwOU1VX55mKPU1I2250Lo
> RCASN18JyfsD5PVldJbtyrmz9gn/TKbRXTr80U2q5JhyvjhLf4lOJo/UzL5WCXED
> Smyj4jWG3R7Z8TED9xNNCxGBMXnMete+3PvzdhssvbORDwBZByogQ9xL2LUZFI/i
> eoQp0UM/L8zfP527vWjEzuDN5xwxMnhi+vCToh7J159o5ah29mP+aJnvujbXEnGa
> nrNxHzu+AGOePV8hwrGGG7hOIcPDQwkuYwzN/xT29iLp/cqf9ZhEtkGcQcIImH3b
> oJ8ifsCnSbu0GB9L06Yqh7lcyvKDTEADslIaeSEINxhO2Y1fmcYFX/Fqrrp1WnhH
> OjplXuXE0OPa0utaKC25Aplgom88L2Z8mEWcyfoB7zKOfD759AN7JKZWCYwk
> -----END CERTIFICATE-----
>

[Attachment #3 (text/html)]

<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Ed,</div><div \
class="gmail_default" style="font-size:small">When I am setting up a server or \
virtual host, I start with this:</div><div class="gmail_default" \
style="font-size:small"><a \
href="https://github.com/h5bp/html5-boilerplate/blob/master/dist/.htaccess">https://github.com/h5bp/html5-boilerplate/blob/master/dist/.htaccess</a><br></div><div \
class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" \
style="font-size:small">That&#39;s the configuration file from a project that is \
intended to jumpstart web development projects and set smart defaults. It is well \
documented particularly with inline comments.</div><div class="gmail_default" \
style="font-size:small"><br></div><div class="gmail_default" \
style="font-size:small">I believe the default configuration is what you&#39;re \
describing but if you need to make adjustments you can just comment or uncomment the \
appropriate settings for your use case.</div><div class="gmail_default" \
style="font-size:small"><br></div><div class="gmail_default" \
style="font-size:small">I then use <a href="https://certbot.eff.org/">Certbot</a>  to \
generate an SSL certificate that covers both the naked domain and the www subdomain  \
(and any other subdomains).</div><div class="gmail_default" \
style="font-size:small"><br></div><div class="gmail_default" \
style="font-size:small">These 2 documents outline how to set up the configuration \
files:</div><div class="gmail_default" style="font-size:small"><a \
href="https://httpd.apache.org/docs/2.4/configuring.html">https://httpd.apache.org/docs/2.4/configuring.html</a><br></div><div \
class="gmail_default" style="font-size:small"><a \
href="https://httpd.apache.org/docs/2.4/sections.html">https://httpd.apache.org/docs/2.4/sections.html</a><br></div><div \
class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" \
style="font-size:small">My suggestion would be to use the code in the HTML5 \
Boilerplate (the first link) but do so in your main config file so that you avoid \
using `.htaccess` files (and `AllowOverride` directives) altogether.</div><div \
class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" \
style="font-size:small">Another tool you might find useful is the <a \
href="https://ssl-config.mozilla.org/">Mozilla SSL configuration \
generator</a></div><div class="gmail_default" style="font-size:small"><br></div><div \
class="gmail_default" style="font-size:small">It looks like you shared both the \
public and private encryption keys when you included the SSL certificates so you \
should generate new keys/certificates.</div><div class="gmail_default" \
style="font-size:small"><br></div><div class="gmail_default" \
style="font-size:small">Hope that helps.</div><div class="gmail_default" \
style="font-size:small"><br></div><div class="gmail_default" \
style="font-size:small">-Adam Powell</div><div class="gmail_default" \
style="font-size:small">Founder, <a href="https://www.adafirst.org/">ADA \
First</a></div></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Tue, Feb 4, 2020 at 1:03 PM edflecko . &lt;<a \
href="mailto:edflecko@gmail.com">edflecko@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I \
don&#39;t understand how to deal with forcing all connections to <a \
href="http://www.sierraprogress.org" target="_blank">www.sierraprogress.org</a> to \
simply <a href="http://sierraprogress.org" target="_blank">sierraprogress.org</a> , \
forcing all connections to my website with https , and using only one certificate per \
domain name?<br><br>Here&#39;s my unique server information:<br>CentOS 7<br>Server \
version: Apache/2.4.41 (codeit)<br>OpenSSL 1.1.1c<br><br>1.) Forcing all connections \
to <a href="http://www.domainname.com" target="_blank">www.domainname.com</a> to \
domainname.comis best done with a rewrite rule, isn&#39;t it? I&#39;ve found some \
examples online, but I don&#39;t know if one is better than the \
others?<br><br>RewriteEngine On<br>RewriteCond %{HTTPS} off [OR]<br>RewriteCond \
%{HTTP_HOST} ^www\. [NC]<br>RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ \
[NC]<br>RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]<br><br>RewriteEngine \
On<br>RewriteBase /<br>RewriteCond %{HTTP_HOST} ^([^.]+)\.sierraprogress\.org$ \
[NC]<br>RewriteRule ^(.*)$ <a href="https://sierraprogress.org/$1" \
target="_blank">https://sierraprogress.org/$1</a> [R=301,L]<br><br>RewriteEngine \
On<br>RewriteCond %{HTTP_HOST} ^sierraprogress\.org$ [NC]<br>RewriteRule ^ <a \
href="https://www" target="_blank">https://www</a>. <a \
href="http://sierraprogress.org" target="_blank">sierraprogress.org</a> \
%{REQUEST_URI} [R=301,L]<br><br>RewriteEngine on<br>RewriteCond %{HTTP_HOST} ^<a \
href="http://www.sierraprogress.org" \
target="_blank">www.sierraprogress.org</a><br>RewriteRule (.*) https:// <a \
href="http://sierraprogress.org" target="_blank">sierraprogress.org</a> /$1 \
[R=301,L]<br><br>Since I want ALL websites that this server will host to remove the \
www AND be https connections, maybe the first example is best?<br><br>Do I just place \
this code snippet in my httpd.conf file?<br><br>2.) Here&#39;s my \
sierraprogress.org.conf file:<br><br>&lt;VirtualHost *:80&gt;<br>      ServerName <a \
href="http://sierraprogress.org" target="_blank">sierraprogress.org</a><br>      \
ServerAlias <a href="http://www.sierraprogress.org" \
target="_blank">www.sierraprogress.org</a><br>DocumentRoot /var/www/<a \
href="http://sierraprogress.org/public_html" \
target="_blank">sierraprogress.org/public_html</a><br>&lt;Directory /var/www/<a \
href="http://sierraprogress.org/public_html" \
target="_blank">sierraprogress.org/public_html</a>&gt;<br>            Options \
-Indexes +FollowSymLinks<br>            AllowOverride All<br>      \
&lt;/Directory&gt;<br>      ErrorLog /var/www/<a \
href="http://sierraprogress.org/error.log" \
target="_blank">sierraprogress.org/error.log</a><br>      CustomLog /var/www/<a \
href="http://sierraprogress.org/requests.log" \
target="_blank">sierraprogress.org/requests.log</a> \
combined<br>&lt;/VirtualHost&gt;<br><br>&lt;VirtualHost *:443&gt;<br>      \
DocumentRoot /var/www/<a href="http://sierraprogress.org/public_html" \
target="_blank">sierraprogress.org/public_html</a><br>      Protocols h2 h2c \
http/1.1<br>      ServerName <a href="http://sierraprogress.org" \
target="_blank">sierraprogress.org</a><br>      ServerAlias <a \
href="http://www.sierraprogress.org" \
target="_blank">www.sierraprogress.org</a><br>&lt;Directory /var/www/<a \
href="http://sierraprogress.org/public_html" \
target="_blank">sierraprogress.org/public_html</a>&gt;<br>            Options \
-Indexes +FollowSymLinks<br>            AllowOverride All<br>      \
&lt;/Directory&gt;<br>ErrorLog /var/www/<a href="http://sierraprogress.org/error.log" \
target="_blank">sierraprogress.org/error.log</a><br>      CustomLog /var/www/<a \
href="http://sierraprogress.org/requests.log" \
target="_blank">sierraprogress.org/requests.log</a> combined<br>      SSLEngine \
on<br>SSLCertificateFile /etc/httpd/ssl/sierraprogress.crt<br>      \
SSLCertificateKeyFile /etc/httpd/ssl/sierraprogress.key<br>SSLCipherSuite \
HIGH:!aNULL:!MD5<br>&lt;/VirtualHost&gt;<br><br>The one certificate I&#39;m using ( \
sierraprogress.crt) works fine for <a href="http://sierraprogress.org" \
target="_blank">sierraprogress.org</a> connections but, of course, will NOT work for \
<a href="http://www.sierraprogress.org" target="_blank">www.sierraprogress.org</a> \
connections because of the domain name mis-match. I&#39;ve also tried using a \
wildcard certificate for *.<a href="http://sierraprogress.org" \
target="_blank">sierraprogress.org</a> (see below), but I couldn&#39;t get that to \
work at all.<br><br>Suggestions on how to handle these issues?<br><br>Thank you for \
your time and suggestions!<br>Ed<br><br>Certificate Decoder - <a \
href="https://www.sslshopper.com/certificate-decoder.html" \
target="_blank">https://www.sslshopper.com/certificate-decoder.html</a><br><br>-----BEGIN \
CERTIFICATE-----<br>MIIIRTCCBy2gAwIBAgIRAOKGYmn0tkDkNQnJmw6pxPUwDQYJKoZIhvcNAQELBQAwdj \
ELMAkGA1UE<br>BhMCVVMxCzAJBgNVBAgTAk1JMRIwEAYDVQQHEwlBbm4gQXJib3IxEjAQBgNVBAoTCUludGVy \
bmV0<br>MjERMA8GA1UECxMISW5Db21tb24xHzAdBgNVBAMTFkluQ29tbW9uIFJTQSBTZXJ2ZXIgQ0EwHhcN<b \
r>MjAwMjAzMDAwMDAwWhcNMjIwMjAyMjM1OTU5WjCB9zELMAkGA1UEBhMCVVMxDjAMBgNVBBETBTk1<br>ODEx \
MRMwEQYDVQQIEwpDYWxpZm9ybmlhMRMwEQYDVQQHEwpTYWNyYW1lbnRvMRMwEQYDVQQJEwpT<br>dWl0ZSA0NT \
U0MRIwEAYDVQQJEwkxMTAyIFEgU3QxOjA4BgNVBAoTMUNhbGlmb3JuaWEgQ29tbXVu<br>aXR5IENvbGxlZ2Vz \
IENoYW5jZWxsb3IncyBPZmZpY2UxKjAoBgNVBAsTIV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VX55mKPU1I2250Lo<br>RCASN18JyfsD5PVldJ \
btyrmz9gn/TKbRXTr80U2q5JhyvjhLf4lOJo/UzL5WCXED<br>Smyj4jWG3R7Z8TED9xNNCxGBMXnMete+3Pvz \
dhssvbORDwBZByogQ9xL2LUZFI/i<br>eoQp0UM/L8zfP527vWjEzuDN5xwxMnhi+vCToh7J159o5ah29mP+aJ \
nvujbXEnGa<br>nrNxHzu+AGOePV8hwrGGG7hOIcPDQwkuYwzN/xT29iLp/cqf9ZhEtkGcQcIImH3b<br>oJ8i \
fsCnSbu0GB9L06Yqh7lcyvKDTEADslIaeSEINxhO2Y1fmcYFX/Fqrrp1WnhH<br>OjplXuXE0OPa0utaKC25Aplgom88L2Z8mEWcyfoB7zKOfD759AN7JKZWCYwk<br>-----END \
CERTIFICATE-----</div> </blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic