Unable to use pass phrase protected key with https_port option in squid.conf.

Solution Unverified - Updated -

Issue

  • Squid prints following error in /var/log/squid/cache.log at start up when a certificate and pass phrase protected key is used with "https_port" parameter:
2012/09/18 09:54:51| Ignoring https_port [::]:443 due to SSL initialization failure.
  • Following configuration is used in /etc/squid/squid.conf where /etc/squid/certs/key.pem is pass phrase protected:
 https_port 443 accel cert=/etc/squid/certs/cert.pem key=/etc/squid/certs/key.pem defaultsite=example.com protocol=http

Environment

  • Red Hat Enterprise Linux 6
  • squid-3.1.10-1.el6_2.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.