<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tls on Varnish Cache</title><link>https://www.varnish.org/docs/tutorials/tags/tls/</link><description>Recent content in Tls on Varnish Cache</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 16 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.varnish.org/docs/tutorials/tags/tls/index.xml" rel="self" type="application/rss+xml"/><item><title>How to configure TLS in Varnish</title><link>https://www.varnish.org/docs/tutorial/tls/</link><pubDate>Thu, 16 Apr 2026 00:00:00 +0000</pubDate><guid>https://www.varnish.org/docs/tutorial/tls/</guid><description>&lt;p&gt;Varnish has TLS support, as of Varnish version 9. This means incoming connections to Varnish can now happen using HTTPS. Varnish can also communicate with backends using HTTPS.&lt;/p&gt;
&lt;p&gt;This tutorial explains the different ways to configure native TLS support.&lt;/p&gt;
&lt;h2 id="option-1-use-the--a-option"&gt;Option 1: Use the -A option&lt;/h2&gt;
&lt;p&gt;The &lt;a href="https://www.varnish.org/docs/reference/varnishd/"&gt;&lt;code&gt;varnishd&lt;/code&gt;&lt;/a&gt; program offers a &lt;code&gt;-A&lt;/code&gt; argument to enable TLS support by linking to a TLS configuration file.&lt;/p&gt;
&lt;h3 id="varnishd-example"&gt;varnishd example&lt;/h3&gt;
&lt;p&gt;This is what the &lt;code&gt;varnishd&lt;/code&gt; command could look like with both regular HTTP and HTTPS enabled:&lt;/p&gt;</description></item></channel></rss>