0

I want to install a client certificate to the Ubuntu's certificate store, so that the user can login using the client certificate from browser (rather than with a username and password).

I am writing a bash script for the same. Which command can I use to do that?

I am aware that Firefox handles the certificates differently and I need commands / automated way to handle that also.

5
  • Claude.ai generated a command - sudo pk12util -i /path/cert.p12 -d sql:/etc/pki/nssdb -W password, which is wrong. Commented Jan 24 at 11:19
  • A better question would be does Ubuntu/Linux have a designated location for user certificates that most applications check. I'm inclined to think that if a user has a certificate for authentication, they can put it in their home directory and select it from there when prompted. Commented Jan 24 at 12:24
  • 1
    stackoverflow.com/questions/49112177/… Commented Jan 24 at 15:56
  • 1
    chromium.googlesource.com/chromium/src.git/+/master/docs/linux/… Commented Jan 24 at 15:57
  • (neither Chromium nor Firefox use the host-wide certificate store - which is usually managed by Openssl). Commented Jan 24 at 15:58

0

You must log in to answer this question.