We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8497373 commit be2c991Copy full SHA for be2c991
security.rst
@@ -1253,6 +1253,23 @@ and to expose the certificate's DN to the Symfony application:
1253
# pass the DN to the application
1254
SSLOptions +StdEnvVars
1255
1256
+ .. code-block:: caddy
1257
+
1258
+ tls {
1259
+ client_auth {
1260
+ mode verify_if_given # Please refer to the Caddy documentation for more information
1261
+ trusted_ca_cert_file /path/to/my-custom-CA.pem
1262
+ }
1263
1264
1265
+ route {
1266
+ # Other congiuration options go here
1267
1268
+ php_fastcgi unix//var/run/php/php-fpm.sock {
1269
+ env SSL_CLIENT_S_DN {http.request.tls.client.subject}
1270
1271
1272
1273
Then, enable the X.509 authenticator using ``x509`` on your firewall:
1274
1275
.. configuration-block::
0 commit comments