Re: Connecting to a WebDAV server fails with mTLS (client auth)
The client certificate file I am trying with does indeed have the intermediate certificate included (and just in case, I've just tried without it and it presents the same error). This is probably an issue with openssl, but I'm not sure why. Running curl built with the same version of openssl used above, with this command line:
works perfectly fine (and also with curl loading the client cert and key separately, and also with curl loading the CA from the certificate store).
curl --cacert authorities/<redacted>/certs/root_ca.crt -E certs/<redacted>/proxy-client_15-cert.p12:<redacted> --cert-type P12 <redacted>
works perfectly fine (and also with curl loading the client cert and key separately, and also with curl loading the CA from the certificate store).