Thanks in advance for your help.
This is my first HTTPS setup, and I received a certificate from Comodo, but I don’t know what to do with it. The certificate came in a ZIP file with these files inside:
Root CA Certificate - AddTrustExternalCARoot.crt
Intermediate CA Certificate - COMODOAddTrustServerCA.crt
Intermediate CA Certificate - COMODOExtendedValidationSecureServerCA.crt
Your COMODO EV SSL Certificate - forum_linma_com.crt
I also have a text format. How to configure it so that my node.js application is accessible via HTTPS? The application runs on an EC2 instance with Ubuntu 13.10, and I use SSH to access the server.
Follow up question
So, I still get the error message. Here is the relevant information:
Content /etc/apache2/sites-enabled/forumHTTPSconfig(single file in permitted sites):
<VirtualHost *:443>
ServerName forum.figma.com
SSLEnable
SSLEngine on
SSLCertificateFile /etc/apache2/forum_figma_com.crt
SSLCertificateKeyFile /home/ubuntu/.ssh/myserver.key
SSLCACertificateFile /etc/apache2/combined-ca.crt
</VirtualHost>
<IfModule mod_proxy.c>
<Proxy *>
SSLProxyEngine on
Order deny,allow
Allow from all
</Proxy>
RewriteEngine on
ProxyPass / https://127.0.0.1:3000
ProxyPassReverse /http://127.0.0.1:3000
</IfModule>
Here is the output of my attempts to call a2enmod:
ubuntu@ip-10-190-91-217:/etc/apache2/sites-enabled$ sudo a2enmod forumHTTPSconfig
ERROR: Module forumHTTPSconfig does not exist!
ubuntu@ip-10-190-91-217:/etc/apache2/sites-enabled$ sudo a2enmod mywebsite
ERROR: Module mywebsite does not exist!
Any idea what goes wrong? Thanks in advance for your help!
source
share