I want to import a client certificate into MacOS 13.4 for use with Safari.
I have imported the certificate both with Keychain access and the security
command into MacOS.
Command used: security import Documents/ssl/nginx/client.pfx -P <passphrase> -k "/Users/ronnyforberger/Library/Keychains/login.keychain-db" -A
I still get 400 Bad Request
No required SSL certificate was sent
from the Webserver.
I have tried to set a new identity setting to the url of the website I want to reach with the client certificate, but still the same error message.
I have tried to both import the certificate to the login and system key chains, with no success.
I cannot import the certificate in the "local objects" keychain, I get an error that the keychain does not exist (though shown in the Keychain access).
So any ideas how to successfully import the client certificate into MacOS so that Safari uses it for the client connection for this specific website?