Skip to content

Commit

Permalink
Merge pull request #46 from sanderkaljula180/master
Browse files Browse the repository at this point in the history
Changed demo certificate
  • Loading branch information
rasmuskukk authored Feb 10, 2022
2 parents c0abac3 + 04318ea commit cadd941
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 34 deletions.
70 changes: 36 additions & 34 deletions src/test/java/ee/sk/mid/integration/MobileIdSSL_IT.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,40 +73,42 @@ public class MobileIdSSL_IT {

public static final LocalDate DEMO_SERVER_CERT_EXPIRATION_DATE = LocalDate.of(2022, 2, 10);
public static final String DEMO_SERVER_CERT = "-----BEGIN CERTIFICATE-----\n"
+ "MIIGMDCCBRigAwIBAgIQA5xbiUE+ydsAl33/XsbLUDANBgkqhkiG9w0BAQsFADBP\n"
+ "MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMSkwJwYDVQQDEyBE\n"
+ "aWdpQ2VydCBUTFMgUlNBIFNIQTI1NiAyMDIwIENBMTAeFw0yMTAxMDgwMDAwMDBa\n"
+ "Fw0yMjAyMDgyMzU5NTlaMFUxCzAJBgNVBAYTAkVFMRAwDgYDVQQHEwdUYWxsaW5u\n"
+ "MRswGQYDVQQKExJTSyBJRCBTb2x1dGlvbnMgQVMxFzAVBgNVBAMTDnRzcC5kZW1v\n"
+ "LnNrLmVlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmmcxbeqoO15G\n"
+ "WCeT8gXsvjKTEs17+JRiZTwLmoWtCx1BN+KkozLfibt0BV4qddGg4q4piEIDWnxH\n"
+ "z7Mpcm+/tXoF2RaGcgOzJsruSMKKdklmGJN75QhxYMqm9qNABx7GT42XDb3xB7rD\n"
+ "9u6VMISVHkYZzowtloKJ98V7qyWKWfV1MOk5d/OrcYr02AmpsDGxtAwvnzsIPXwe\n"
+ "WkSgw9RQh6xG7KWbXVfmxwI8he8yIXiaMMQq6mtMwU/2N5vKP8UuHIl9HKbukcI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modified src/test/resources/demo_server_trusted_ssl_certs.jks
Binary file not shown.

0 comments on commit cadd941

Please sign in to comment.