/electron-cert-issue

Test repository to check client certificates with Electron.

Primary LanguageJavaScript

Electron Certificate Issue

Use the following commands to run start electron:

npm install
npm start

Creating a Client Certificate on Linux

Install NSS Tools

On Ubuntu/Debian:

sudo apt-get install -y libnss3-tools
certutil -S  -d ${HOME}/.pki/nssdb -n "John Doe" -x -t ',,' -s "CN=John Doe"

Add Smart card support to Chrome:

modutil -dbdir ${HOME}/.pki/nssdb -add "Smart Card" -libfile /usr/lib/arm-linux-gnueabihf/opensc-pkcs11.so

Creating a Client Certificate on Mac

  1. Open the Keychain Access application. This is in the Utilities folder.
  2. Select the Keychain Access > Certificate Assistant > Create a Certificate menu options.
  3. Enter your name.
  4. Use Self Signed Root for the Identity Type.
  5. Select SSL Client for the Certificate Type.
  6. Select the Create button.
  7. Select Continue on the warning dialog.
  8. Select Done.

See apple.com