Skip to content

An example integration to Swedish BankID (exposed by SSE)

Notifications You must be signed in to change notification settings

bmd007/swedish-bankid-gateway

Repository files navigation

Swedish-BankId-Gateway

we meed 3 pem contents:

  1. truststore: is the Root certificate
  2. keystore: is the bankId certificate
  3. private-key: is our private key

Test environment

In test environment, files named like FPTestcert5_20240610.p12 are providing keystore and private-key. truststore is a separate file. Use them commands below to convert the p12 to pem.

Note

BankId started to provide FPTestcert5_20240610.pem (in addition to the p12 files). Note that the private key in the FPTestcert5_20240610.pem if encrypted. So it's easier to use the p12 files and convert them to pem.

Converting p12 to pem

openssl pkcs12 -in trustStore.p12 -out truststore.pem -nodes

For test the truststore password is: coolbeans

openssl pkcs12 -in FPTestcert5_20240610.p12 -out decrypted-keystore.pem -nodes

For test the keystore password is: qwerty123

About

An example integration to Swedish BankID (exposed by SSE)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published