Skip to content

Commit bec6a5f

Browse files
committed
Allow ssl_certs_dir to be unset.
In some cases we don't want SSLCACertificatePath to be set at all. If we're using SSLCACertificateFile instead to verify clients we might want that to be the only CA used. Most other options in this template are optional, so I don't see why this one can't be too.
1 parent c750c15 commit bec6a5f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

templates/vhost/_ssl.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
<% if @ssl_chain -%>
88
SSLCertificateChainFile "<%= @ssl_chain %>"
99
<% end -%>
10+
<% if @ssl_certs_dir -%>
1011
SSLCACertificatePath "<%= @ssl_certs_dir %>"
12+
<% end -%>
1113
<% if @ssl_ca -%>
1214
SSLCACertificateFile "<%= @ssl_ca %>"
1315
<% end -%>

0 commit comments

Comments
 (0)