Note that there are some explanatory texts on larger screens.

plurals
  1. POEC2onRails + SSL + Apache: No response on port 443
    primarykey
    data
    text
    <p>I'm trying to configure SSL on EC2onrails with no luck. At present I am unable to even telnet into my server at port 443, it simply says <code>trying MY.IP.ADDRESS...</code> and stays there indefinitely. Telnet into 80 works fine.</p> <p><a href="http://groups.google.com/group/ec2-on-rails-discuss/browse_thread/thread/79b60bf683b2365b" rel="nofollow noreferrer">This</a> was my starting point. I followed the instructions exactly, and because I have a go daddy cert I created this custom default-ssl file so I could add the SSLCertificateChainFile directive:</p> <pre><code>NameVirtualHost *:443 &lt;VirtualHost *:443&gt; Include /etc/apache2/sites-available/app.custom Include /etc/apache2/sites-available/app.common ErrorLog /mnt/log/apache2/error.log LogLevel warn CustomLog /mnt/log/apache2/access.log combined # see http://httpd.apache.org/docs/2.2/ssl/ssl_intro.html and http://httpd.apache.org/docs/2.2/mod/mod_ssl.html SSLEngine On SSLCertificateFile /etc/ec2onrails/ssl/cert/ec2onrails-default.crt SSLCertificateKeyFile /etc/ec2onrails/ssl/private/ec2onrails-default.key SSLCertificateChainFile /etc/ec2onrails/ssl/cert/ec2onrails-chain.crt RequestHeader set X_FORWARDED_PROTO 'https' ServerName MY_SERVER_NAME &lt;/VirtualHost&gt; </code></pre> <p>Note that I had to add</p> <pre><code> ServerName MY_SERVER_NAME </code></pre> <p>Or else I saw the following warning at apache startup in the error.log file:</p> <pre><code>[Wed May 27 19:46:20 2009] [warn] RSA server certificate CommonName (CN) ` MY_SERVER_NAME' does NOT match server name!? </code></pre> <p>I have run cap ec2onrails:server:enable_ssl, apache boots up cleanly, regular access over port 80 works, and apache access logs indicate no request activity to port 443. I know apache is loading my default-ssl config files because if I type gobbledygook in them it complains at startup.</p> <p>Has anyone else successfully gotten SSL working with EC2onRails? What else can I do to debug this issue? Right now I am using ec2onRails version 0.9.9.1 which is based on a version of Ubuntu.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload