Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing signing unit tests - expired certificates #713

Merged
merged 1 commit into from
Mar 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions test/signing/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Demo certificates origin: https://github.com/m32/endesive/tree/master/examples/ca

Display P12 certificate details:

python $opt/endesive/examples/cert-info-p12.py certs.p12 1234

Display PEM certificate details:

python $opt/endesive/examples/cert-info-pem.py demo2_ca.crt.pem 1234
openssl x509 -text -dates -noout -in demo2_ca.crt.pem
Binary file modified test/signing/certs.p12
Binary file not shown.
30 changes: 16 additions & 14 deletions test/signing/demo2_ca.crt.pem
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
-----BEGIN CERTIFICATE-----
MIICuzCCAaOgAwIBAgIUWn2krXq5BeG0+RnX11aWW6NdhVkwDQYJKoZIhvcNAQEL
BQAwDTELMAkGA1UEAwwCQ0EwHhcNMjAwMTE0MjIxNjQzWhcNMzAwMTExMjIxNjQz
MIIDCzCCAfOgAwIBAgIUOcAGwqR55S5QixnZlMn1PAKCSU8wDQYJKoZIhvcNAQEL
BQAwDTELMAkGA1UEAwwCQ0EwHhcNMjMwMTAyMTAxNjQyWhcNMzIxMjMwMTAxNjQy
WjANMQswCQYDVQQDDAJDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB
ANk+9q+opmJVyLSV+yJJsUfflv1J07Tqk9pA1taCtQA7g500WSay3jlrV61ZaGgl
ZwWHT5dCGJSINHxVzBAExTuiwUvoj6SKNJIEXdBXFpmkjo/st6g7EbD2kdBR2ry3
4SbOpr+PpoDoUOAs7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HMz
dWiEIQjbptAcNBMwDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEBCwUAA4IBAQBI
wzcX9tvSGkHpOpIsyk+PLqaDnz6QlHerFtHpM0uuhCKupGSme74oYPBypA9rDfBr
Pqdr0EUKud8wDaqJ4VnjSWbkabYNgR/VVzf7D1lgDcDnORicL2QDOQCEyY5qhjkw
FfH+spqkAxk5cVLWlIyaFoytAdnV0FX1QQidXlfJodCoVqdX9RuOwqqx0Se+dlR6
nXnS7jNAslYpGqw6SyKrDuaVyzwZUdl4gsyFUXg2acIFufojKld+0QMCc1ZQJ5v+
kTUw6i1MjgrDikPPSQGoIICWcyukxn8EJ5L6R7/YO6amDTEAgEfHPEdTA+YG35Qd
gLp4G8bPCt1Kfdl72brn
-----END CERTIFICATE-----
Binary file modified test/signing/sign_pkcs12.pdf
Binary file not shown.
Binary file modified test/signing/sign_pkcs12_with_link.pdf
Binary file not shown.