swish-python
swish-python copied to clipboard
(Question, not Issues)How to use ENCRYPTED file or .p12 file to swish.SwishClient call?
In swish test enviroment sample, it use .p12 file and CA.pem file to communicate with swish.
"Swish_Merchant_TestCertificate_1234679304.p12" files includes “Certificate” and “private key”.
and the private key file is ENCRYPTED, you can see below: -----BEGIN ENCRYPTED PRIVATE KEY----- -----END ENCRYPTED PRIVATE KEY-----
but in your test case “swish-python/tests/key.pem”, it is -----BEGIN PRIVATE KEY----- -----END PRIVATE KEY-----
is there some way to use ENCRYPTED file as swish sample? or use .p12 file just like swish smaple?
Looking forward to hearing from you! Have a nice day!