<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Philaupatte</title>
    <description>The latest articles on DEV Community by Philaupatte (@philaupatte).</description>
    <link>https://dev.to/philaupatte</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1597789%2F6683ac44-6cef-405f-9c5d-0963e3200c08.png</url>
      <title>DEV Community: Philaupatte</title>
      <link>https://dev.to/philaupatte</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/philaupatte"/>
    <language>en</language>
    <item>
      <title>How-to make SSL (IONOS cert) Web redirect own apache server</title>
      <dc:creator>Philaupatte</dc:creator>
      <pubDate>Sun, 09 Jun 2024 07:00:48 +0000</pubDate>
      <link>https://dev.to/philaupatte/how-to-make-ssl-ionos-cert-web-redirect-own-apache-server-8k1</link>
      <guid>https://dev.to/philaupatte/how-to-make-ssl-ionos-cert-web-redirect-own-apache-server-8k1</guid>
      <description>&lt;p&gt;Hi,&lt;br&gt;
I come to you as I don't know what to do more to make SSL working on my domain handle by IONOS with redirection. (IONOS don't support customer running their own server)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;On IONOS :&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I have a domain *.philaupatte.com&lt;/li&gt;
&lt;li&gt;I have SSL certificate (cer, key and intermediate)&lt;/li&gt;
&lt;li&gt;I have a redirection to the box of my ISP &lt;a href="https://82.67.90.232:34443"&gt;https://82.67.90.232:34443&lt;/a&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;On ISP Box :&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I have port forwarding from any IP source port:3480 to my apache server port:80&lt;/li&gt;
&lt;li&gt;I have port forwarding from any IP source port:34443 to my apache server port:443&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;On my APACHE2 server :&lt;/strong&gt; &lt;br&gt;
I have virtual host definition (quite simple)&lt;br&gt;
&lt;br&gt;
        ServerAdmin &lt;a href="mailto:webmaster.administrator@free.fr"&gt;webmaster.administrator@free.fr&lt;/a&gt;&lt;br&gt;
        ServerName philaupatte.com&lt;br&gt;
        DocumentRoot /var/www/philaupatte.com&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
    LogLevel debug

    SSLEngine on
    SSLUseStapling off

    &amp;lt;FilesMatch "\.(?:cgi|shtml|phtml|php)$"&amp;gt;
            SSLOptions +StdEnvVars
    &amp;lt;/FilesMatch&amp;gt;
    &amp;lt;Directory /usr/lib/cgi-bin&amp;gt;
            SSLOptions +StdEnvVars
    &amp;lt;/Directory&amp;gt;

    SSLCertificateFile      /etc/ssl/philaupatte.com/philaupatte.com_ssl_certificate.cer
    SSLCertificateKeyFile   /etc/ssl/philaupatte.com/_.philaupatte.com_private_key.key
    SSLCertificateChainFile /etc/ssl/philaupatte.com/_.philaupatte.com_ssl_certificate_INTERMEDIATE.cer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;All config is OK and server is starting without any error.&lt;/p&gt;

&lt;p&gt;curl -i4 &lt;a href="http://philaupatte.com"&gt;http://philaupatte.com&lt;/a&gt; working fine&lt;br&gt;
HTTP/1.1 302 Found&lt;br&gt;
Content-Type: text/html&lt;br&gt;
Content-Length: 0&lt;br&gt;
Connection: keep-alive&lt;br&gt;
Keep-Alive: timeout=15&lt;br&gt;
Date: Sun, 09 Jun 2024 06:57:29 GMT&lt;br&gt;
Server: Apache&lt;br&gt;
Cache-Control: no-cache&lt;br&gt;
Location: &lt;a href="https://82.67.90.232:34443"&gt;https://82.67.90.232:34443&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;curl -i4 &lt;a href="https://philaupatte.com"&gt;https://philaupatte.com&lt;/a&gt; fails&lt;br&gt;
curl: (35) OpenSSL/3.0.11: error:0A000438:SSL routines::tlsv1 alert internal error&lt;/p&gt;

&lt;p&gt;curl -i4 &lt;a href="https://philaupatte.com"&gt;https://philaupatte.com&lt;/a&gt; fails -vvv&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Trying 217.160.0.238:443...&lt;/li&gt;
&lt;li&gt;Connected to &lt;a href="http://www.philaupatte.com"&gt;www.philaupatte.com&lt;/a&gt; (217.160.0.238) port 443 (#0)&lt;/li&gt;
&lt;li&gt;ALPN: offers h2,http/1.1&lt;/li&gt;
&lt;li&gt;TLSv1.3 (OUT), TLS handshake, Client hello (1):&lt;/li&gt;
&lt;li&gt; CAfile: /etc/ssl/certs/ca-certificates.crt&lt;/li&gt;
&lt;li&gt; CApath: /etc/ssl/certs&lt;/li&gt;
&lt;li&gt;TLSv1.3 (IN), TLS alert, internal error (592):&lt;/li&gt;
&lt;li&gt;OpenSSL/3.0.11: error:0A000438:SSL routines::tlsv1 alert internal error&lt;/li&gt;
&lt;li&gt;Closing connection 0
curl: (35) OpenSSL/3.0.11: error:0A000438:SSL routines::tlsv1 alert internal error&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Any suggestion will be more than welcome, I am fully stuck.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

</description>
      <category>help</category>
    </item>
  </channel>
</rss>
