1

We are attempting to setup Apache Traffic Server to act as reverse proxy for our web server. Here are the basics:

  1. Apache Traffic Server, built from source (6.1.0) and installed into /opt, is running on a CentOS 7 (7.1.1503) server.

  2. Apache Traffic Server is setup to redirect port 80 and 443 traffic (via the remap.config) to our web server which is IIS running on Windows Server 2012

  3. From my local machine, with my host file appropriately modified (we are not running the reverse proxy in production), I can get to our website as normal, and it is redirected through the reverse proxy to the web server as expected.

  4. When I try to go to the HTTPS version of our website, I instead get, in Firefox, "Secure Connection Failed". With the error code "ssl_error_rx_record_too_long". In Chrome I get "ERR_SSL_PROTOCOL_ERROR".

I've uploaded an anonymized version of our records.config and remap.config to Pastebin (see here and here), and our ssl_multicert.config is configured thus:

ip_dest=* ssl_cert_name=star_foo_com.pem

I'm not particularly well versed in the web side of things, but it's fallen to me to set this up. I'm sure I've simply missed something simple in the configuration process.

1 Answers1

0

I managed to get it to work when I placed :ssl to the end of 443 in records.config

CONFIG proxy.config.http.server_ports STRING 80 80:ipv6 443:ssl

In addition it seems that you need to have in your ssl_multicert.config at least one line with dest_ip for example

dest_ip=* ssl_cert_name=yourdomain.crt ssl_key_name=yourdomain.key ssl_ca_name=ca.crt
PHZ.fi-Pharazon
  • 261
  • 1
  • 10
  • I appreciate the followup, but in the intervening seven years we gave up on using Apache Traffic Server for that purpose (we ended up using NGINX instead) and in any case I no longer work at the company I was trying to set it up for anyway. :D – thunderbird32 Feb 23 '23 at 04:28
  • I think Trafficserver is much easier to configure than nginx, in the end. After years, I haven't seen almost any project using nginx having configured caching on. But we use both for different purposes. – PHZ.fi-Pharazon Mar 11 '23 at 08:02