Service status:

Testing

To use the test environment, you need a test BankID and a certificate for test.

Get a test BankID

In the test environment, you need to use a test BankID. You can get one at the Demo bank. Log in with your production BankID, or with a personal code that you order on the site.

Certificate for test

By clicking the button below you will download a zip file containing the same certificate for test in three different formats. You also get a file with further information.

 How to select the correct file:

  • Use `FPTestcert5_20240610.p12` for newer applications and environments that support modern encryption methods. We recommend this file as your primary choice.

  • Use `FPTestcert5_20240610.pem` if your application requires PEM format. 

  • Use `FPTestcert5_20240610-legacy.pfx ` for older applications requiring older algorithms, such as Windows Server versions earlier than 2022.

Download

TLS certificate for test in three different formats.

Download  

Good to know

  • Avoid using production data in your test systems, as a test BankID can be created for any social security number.

  • There are no test BankIDs in production. A real BankID can only be held by a real person with a Swedish personal number.

  • In the test environment you don't get your own "displayName", but an relying party certificate for test with displayName = BankID test.

  • When you create a test BankID, you choose a personal identity number and a name. Some numbers are used by many people, which can cause unexpected test results when several persons execute tests at the same time. We recommend you get personal identity numbers for testing from the Swedish Tax Agency.

More about testing

Kvinna_mote_1400x930

BankID for test

This is how to create and configure a BankID for test.

Man_lager_1400x930

Test digital ID card

On Demobanken you can test i.e. digital ID card and signature texts. Log in by identifying with your production BankID, or with a code that you order on the site.

BID-society_faded

Demo and sample code

Demo for user flows and link to guiding sample code at Github.

Subscribe to our technical newsletter

Get the latest news about technical changes and updates from us.

Fiskar_1400x930