Monthly Archives: July 2013

Apache – listen on a different port with SELINUX enabled (Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:82)

SELinux assigns types to all network ports on a system. Ports below 1024 are labeled reserved_port_t and all ports > 1024 are labeled port_ semanage port -l | grep http  ( run yum install policycoreutils-python if you’re missing the binary) … Continue reading

Posted in Linux | Tagged , | Leave a comment

Postfix certificate verification failed for… (when forwarding to Exchange)

To get rid of this notification, export the Exchange certificate and covert it to pem. (key and cert in one file called exchange.pem) See Converting SSL Certificates with OpenSSL mkdir /var/spool/postfix/certs && chown postfix /var/spool/postfix/certs In /etc/postfix/main.cf add smtp_tls_CAfile = … Continue reading

Posted in Linux | Tagged | Leave a comment

Converting SSL Certificates with OpenSSL

The OpenSSL toolkit is a veritable Swiss Army knife of SSL functionality. Among the many, many things that can be done using OpenSSL is converting SSL certificates between formats. This is particularly helpful in a heterogeneous environment where different platforms … Continue reading

Posted in Linux | Leave a comment