Skip to content

Commit

Permalink
Update test certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
William Tisäter committed Aug 21, 2023
1 parent 99106c6 commit 9004dd0
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 6 deletions.
Binary file removed bankid/certs/FPTestcert4_20220818.p12
Binary file not shown.
Binary file added bankid/certs/FPTestcert4_20230629.p12
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
Bag Attributes
localKeyID: A9 F3 0C D7 04 B6 7D 23 86 84 71 C3 E9 42 62 8B 1B D7 75 C3
subject=C = SE, O = Testbank A AB (publ), serialNumber = 5566304928, name = Test av BankID, CN = FP Testcert 4

issuer=C = SE, O = Testbank A AB (publ), serialNumber = 111111111111, CN = Testbank A RP CA v1 for BankID Test

-----BEGIN CERTIFICATE-----
MIIEyjCCArKgAwIBAgIIMLbIMaRHjMMwDQYJKoZIhvcNAQELBQAwcTELMAkGA1UE
BhMCU0UxHTAbBgNVBAoMFFRlc3RiYW5rIEEgQUIgKHB1YmwpMRUwEwYDVQQFEwwx
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions bankid/certs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@


def get_test_cert_p12():
return (Path(__file__).parent / "FPTestcert4_20220818.p12").resolve()
return (Path(__file__).parent / "FPTestcert4_20230629.p12").resolve()


def get_test_cert_and_key():
return (
(Path(__file__).parent / "FPTestcert4_20220818_cert.pem").resolve(),
(Path(__file__).parent / "FPTestcert4_20220818_key.pem").resolve(),
(Path(__file__).parent / "FPTestcert4_20230629_cert.pem").resolve(),
(Path(__file__).parent / "FPTestcert4_20230629_key.pem").resolve(),
)
1 change: 0 additions & 1 deletion bankid/certutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from bankid.exceptions import BankIDError

_TEST_CERT_PASSWORD = "qwerty123"
_TEST_CERT_URL = "https://www.bankid.com/assets/bankid/rp/FPTestcert4_20220818.p12"


def create_bankid_test_server_cert_and_key(destination_path):
Expand Down

0 comments on commit 9004dd0

Please sign in to comment.