Tag Archives: ssl

Fun with Apache2 – httpd not running, trying to start (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down

Have you ever gotten this error message when trying to (re)start Apache httpd not running, trying to start (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down If you are running with an SSL certificate on your box, Apache cannot start up without the correct passphrase. I’ve run into this [...]
Posted in apache | Also tagged , , , , , | 1 Comment

Postfix, ActionMailer and OpenSSL Fix on Ubuntu

If you run into problems using ActionMailer > 2.2, Postfix and OpenSSL while sending mail from your application, try changing the following: vim /etc/postfix/main.cf Change smtpd_use_tls=yes to smtpd_use_tls=no OpenSSL support with Postfix does not work out of the box. You can either generate valid certificates or tell Postfix not to use the certificates. More information is [...]
Posted in Ruby on Rails | Also tagged , , , | Leave a comment

Rails, SSL, Ubuntu, Apache2 with Phusion on Ubuntu

Here are all the commands for setting up your Rails application to server requests over SSL -on Ubuntu, of course. There are great resources and tutorials at these websites. http://www.tc.umn.edu/~brams006/selfsign.html http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html https://help.ubuntu.com/7.10/server/C/httpd.html#https-configuration The first thing, of course, is that you need OpenSSL installed. apt-get install openssl Once you have it installed, you can use this program to generate certificates. The generation process [...]
Posted in Linux, Ruby on Rails | Also tagged | Leave a comment