0

I have a problem with mtls in traefik, I need to enter traefik as a client with mtls but the configuration that I tried is not working for me since it enters the link without any certificate

http:

  routers:
  
   crypto-router: 
      tls:
        options: testmtls

      rule: "PathPrefix(`/CryptoTest`)"
      entryPoints:
        - websecure
      service: cryptoTest-service
      middlewares:
        - cryptoTest-stripprefix

tls: 
  options:
    testmtls:
      clientAuth:
        caFiles:
          - /etc/traefik/cryptolocal.crt
        clientAuthType: RequireAndVerifyClientCert

I expected that it would give me some error when connecting the request without a certificate but this not happens and I need only requests with client certificates to entry

0 Answers0