|
|
653b37 |
From a0957d55059f0b6052235737f7441fc35da41afd Mon Sep 17 00:00:00 2001
|
|
|
653b37 |
From: "Dr. Stephen Henson" <steve@openssl.org>
|
|
|
653b37 |
Date: Wed, 17 Jul 2013 16:30:04 +0100
|
|
|
653b37 |
Subject: [PATCH] Scripts to recreate S/MIME test certificates.
|
|
|
653b37 |
|
|
|
653b37 |
Add a script to generate keys and certificates for the S/MIME and CMS
|
|
|
653b37 |
tests.
|
|
|
653b37 |
|
|
|
653b37 |
Update certificates and add EC examples.
|
|
|
653b37 |
---
|
|
|
653b37 |
test/smime-certs/ca.cnf | 66 ++++++++++++++++++++++++++++++++++
|
|
|
653b37 |
test/smime-certs/mksmime-certs.sh | 61 +++++++++++++++++++++++++++++++
|
|
|
653b37 |
test/smime-certs/smdsa1.pem | 75 +++++++++++++++++++++++----------------
|
|
|
653b37 |
test/smime-certs/smdsa2.pem | 75 +++++++++++++++++++++++----------------
|
|
|
653b37 |
test/smime-certs/smdsa3.pem | 75 +++++++++++++++++++++++----------------
|
|
|
653b37 |
test/smime-certs/smec1.pem | 22 ++++++++++++
|
|
|
653b37 |
test/smime-certs/smec2.pem | 23 ++++++++++++
|
|
|
653b37 |
test/smime-certs/smroot.pem | 75 ++++++++++++++++++++++++---------------
|
|
|
653b37 |
test/smime-certs/smrsa1.pem | 74 +++++++++++++++++++++++---------------
|
|
|
653b37 |
test/smime-certs/smrsa2.pem | 74 +++++++++++++++++++++++---------------
|
|
|
653b37 |
test/smime-certs/smrsa3.pem | 74 +++++++++++++++++++++++---------------
|
|
|
653b37 |
11 files changed, 489 insertions(+), 205 deletions(-)
|
|
|
653b37 |
create mode 100644 test/smime-certs/ca.cnf
|
|
|
653b37 |
create mode 100644 test/smime-certs/mksmime-certs.sh
|
|
|
653b37 |
create mode 100644 test/smime-certs/smec1.pem
|
|
|
653b37 |
create mode 100644 test/smime-certs/smec2.pem
|
|
|
653b37 |
|
|
|
653b37 |
diff --git a/test/smime-certs/ca.cnf b/test/smime-certs/ca.cnf
|
|
|
653b37 |
new file mode 100644
|
|
|
653b37 |
index 0000000..5e8b108
|
|
|
653b37 |
--- /dev/null
|
|
|
653b37 |
+++ b/test/smime-certs/ca.cnf
|
|
|
653b37 |
@@ -0,0 +1,66 @@
|
|
|
653b37 |
+#
|
|
|
653b37 |
+# OpenSSL example configuration file for automated certificate creation.
|
|
|
653b37 |
+#
|
|
|
653b37 |
+
|
|
|
653b37 |
+# This definition stops the following lines choking if HOME or CN
|
|
|
653b37 |
+# is undefined.
|
|
|
653b37 |
+HOME = .
|
|
|
653b37 |
+RANDFILE = $ENV::HOME/.rnd
|
|
|
653b37 |
+CN = "Not Defined"
|
|
|
653b37 |
+default_ca = ca
|
|
|
653b37 |
+
|
|
|
653b37 |
+####################################################################
|
|
|
653b37 |
+[ req ]
|
|
|
653b37 |
+default_bits = 2048
|
|
|
653b37 |
+default_keyfile = privkey.pem
|
|
|
653b37 |
+# Don't prompt for fields: use those in section directly
|
|
|
653b37 |
+prompt = no
|
|
|
653b37 |
+distinguished_name = req_distinguished_name
|
|
|
653b37 |
+x509_extensions = v3_ca # The extentions to add to the self signed cert
|
|
|
653b37 |
+string_mask = utf8only
|
|
|
653b37 |
+
|
|
|
653b37 |
+# req_extensions = v3_req # The extensions to add to a certificate request
|
|
|
653b37 |
+
|
|
|
653b37 |
+[ req_distinguished_name ]
|
|
|
653b37 |
+countryName = UK
|
|
|
653b37 |
+
|
|
|
653b37 |
+organizationName = OpenSSL Group
|
|
|
653b37 |
+# Take CN from environment so it can come from a script.
|
|
|
653b37 |
+commonName = $ENV::CN
|
|
|
653b37 |
+
|
|
|
653b37 |
+[ usr_cert ]
|
|
|
653b37 |
+
|
|
|
653b37 |
+# These extensions are added when 'ca' signs a request for an end entity
|
|
|
653b37 |
+# certificate
|
|
|
653b37 |
+
|
|
|
653b37 |
+basicConstraints=critical, CA:FALSE
|
|
|
653b37 |
+keyUsage=critical, nonRepudiation, digitalSignature, keyEncipherment
|
|
|
653b37 |
+
|
|
|
653b37 |
+# PKIX recommendations harmless if included in all certificates.
|
|
|
653b37 |
+subjectKeyIdentifier=hash
|
|
|
653b37 |
+authorityKeyIdentifier=keyid
|
|
|
653b37 |
+
|
|
|
653b37 |
+[ dh_cert ]
|
|
|
653b37 |
+
|
|
|
653b37 |
+# These extensions are added when 'ca' signs a request for an end entity
|
|
|
653b37 |
+# DH certificate
|
|
|
653b37 |
+
|
|
|
653b37 |
+basicConstraints=critical, CA:FALSE
|
|
|
653b37 |
+keyUsage=critical, keyAgreement
|
|
|
653b37 |
+
|
|
|
653b37 |
+# PKIX recommendations harmless if included in all certificates.
|
|
|
653b37 |
+subjectKeyIdentifier=hash
|
|
|
653b37 |
+authorityKeyIdentifier=keyid
|
|
|
653b37 |
+
|
|
|
653b37 |
+[ v3_ca ]
|
|
|
653b37 |
+
|
|
|
653b37 |
+
|
|
|
653b37 |
+# Extensions for a typical CA
|
|
|
653b37 |
+
|
|
|
653b37 |
+# PKIX recommendation.
|
|
|
653b37 |
+
|
|
|
653b37 |
+subjectKeyIdentifier=hash
|
|
|
653b37 |
+authorityKeyIdentifier=keyid:always
|
|
|
653b37 |
+basicConstraints = critical,CA:true
|
|
|
653b37 |
+keyUsage = critical, cRLSign, keyCertSign
|
|
|
653b37 |
+
|
|
|
653b37 |
diff --git a/test/smime-certs/mksmime-certs.sh b/test/smime-certs/mksmime-certs.sh
|
|
|
653b37 |
new file mode 100644
|
|
|
653b37 |
index 0000000..37c5633
|
|
|
653b37 |
--- /dev/null
|
|
|
653b37 |
+++ b/test/smime-certs/mksmime-certs.sh
|
|
|
653b37 |
@@ -0,0 +1,61 @@
|
|
|
653b37 |
+#!/bin/sh
|
|
|
653b37 |
+
|
|
|
653b37 |
+# Utility to recreate S/MIME certificates
|
|
|
653b37 |
+
|
|
|
653b37 |
+OPENSSL=../../apps/openssl
|
|
|
653b37 |
+OPENSSL_CONF=./ca.cnf
|
|
|
653b37 |
+export OPENSSL_CONF
|
|
|
653b37 |
+
|
|
|
653b37 |
+# Root CA: create certificate directly
|
|
|
653b37 |
+CN="Test S/MIME RSA Root" $OPENSSL req -config ca.cnf -x509 -nodes \
|
|
|
653b37 |
+ -keyout smroot.pem -out smroot.pem -newkey rsa:2048 -days 3650
|
|
|
653b37 |
+
|
|
|
653b37 |
+# EE RSA certificates: create request first
|
|
|
653b37 |
+CN="Test S/MIME EE RSA #1" $OPENSSL req -config ca.cnf -nodes \
|
|
|
653b37 |
+ -keyout smrsa1.pem -out req.pem -newkey rsa:2048
|
|
|
653b37 |
+# Sign request: end entity extensions
|
|
|
653b37 |
+$OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \
|
|
|
653b37 |
+ -extfile ca.cnf -extensions usr_cert -CAcreateserial >>smrsa1.pem
|
|
|
653b37 |
+
|
|
|
653b37 |
+CN="Test S/MIME EE RSA #2" $OPENSSL req -config ca.cnf -nodes \
|
|
|
653b37 |
+ -keyout smrsa2.pem -out req.pem -newkey rsa:2048
|
|
|
653b37 |
+$OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \
|
|
|
653b37 |
+ -extfile ca.cnf -extensions usr_cert -CAcreateserial >>smrsa2.pem
|
|
|
653b37 |
+
|
|
|
653b37 |
+CN="Test S/MIME EE RSA #3" $OPENSSL req -config ca.cnf -nodes \
|
|
|
653b37 |
+ -keyout smrsa3.pem -out req.pem -newkey rsa:2048
|
|
|
653b37 |
+$OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \
|
|
|
653b37 |
+ -extfile ca.cnf -extensions usr_cert -CAcreateserial >>smrsa3.pem
|
|
|
653b37 |
+
|
|
|
653b37 |
+# Create DSA parameters
|
|
|
653b37 |
+
|
|
|
653b37 |
+$OPENSSL dsaparam -out dsap.pem 2048
|
|
|
653b37 |
+
|
|
|
653b37 |
+CN="Test S/MIME EE DSA #1" $OPENSSL req -config ca.cnf -nodes \
|
|
|
653b37 |
+ -keyout smdsa1.pem -out req.pem -newkey dsa:dsap.pem
|
|
|
653b37 |
+$OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \
|
|
|
653b37 |
+ -extfile ca.cnf -extensions usr_cert -CAcreateserial >>smdsa1.pem
|
|
|
653b37 |
+CN="Test S/MIME EE DSA #2" $OPENSSL req -config ca.cnf -nodes \
|
|
|
653b37 |
+ -keyout smdsa2.pem -out req.pem -newkey dsa:dsap.pem
|
|
|
653b37 |
+$OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \
|
|
|
653b37 |
+ -extfile ca.cnf -extensions usr_cert -CAcreateserial >>smdsa2.pem
|
|
|
653b37 |
+CN="Test S/MIME EE DSA #3" $OPENSSL req -config ca.cnf -nodes \
|
|
|
653b37 |
+ -keyout smdsa3.pem -out req.pem -newkey dsa:dsap.pem
|
|
|
653b37 |
+$OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \
|
|
|
653b37 |
+ -extfile ca.cnf -extensions usr_cert -CAcreateserial >>smdsa3.pem
|
|
|
653b37 |
+
|
|
|
653b37 |
+# Create EC parameters
|
|
|
653b37 |
+
|
|
|
653b37 |
+$OPENSSL ecparam -out ecp.pem -name P-256
|
|
|
653b37 |
+$OPENSSL ecparam -out ecp2.pem -name K-283
|
|
|
653b37 |
+
|
|
|
653b37 |
+CN="Test S/MIME EE EC #1" $OPENSSL req -config ca.cnf -nodes \
|
|
|
653b37 |
+ -keyout smec1.pem -out req.pem -newkey ec:ecp.pem
|
|
|
653b37 |
+$OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \
|
|
|
653b37 |
+ -extfile ca.cnf -extensions usr_cert -CAcreateserial >>smec1.pem
|
|
|
653b37 |
+CN="Test S/MIME EE EC #2" $OPENSSL req -config ca.cnf -nodes \
|
|
|
653b37 |
+ -keyout smec2.pem -out req.pem -newkey ec:ecp2.pem
|
|
|
653b37 |
+$OPENSSL x509 -req -in req.pem -CA smroot.pem -days 3600 \
|
|
|
653b37 |
+ -extfile ca.cnf -extensions usr_cert -CAcreateserial >>smec2.pem
|
|
|
653b37 |
+# Remove temp files.
|
|
|
653b37 |
+rm -f req.pem ecp.pem ecp2.pem dsap.pem smroot.srl
|
|
|
653b37 |
diff --git a/test/smime-certs/smdsa1.pem b/test/smime-certs/smdsa1.pem
|
|
|
653b37 |
index d5677db..b424f67 100644
|
|
|
653b37 |
--- a/test/smime-certs/smdsa1.pem
|
|
|
653b37 |
+++ b/test/smime-certs/smdsa1.pem
|
|
|
653b37 |
@@ -1,34 +1,47 @@
|
|
|
653b37 |
------BEGIN DSA PRIVATE KEY-----
|
|
|
653b37 |
-MIIBuwIBAAKBgQDFJfsIPOIawMO5biw+AoYUhNVxReBOLQosU3Qv4B8krac0BNr3
|
|
|
653b37 |
-OjSGLh1wZxHqhlAE0QmasTaKojuk20nNWeFnczSz6vDl0IVJEhS8VYor5kt9gLqt
|
|
|
653b37 |
-GcoAgsf4gRDIutJyQDaNn3IVY89uXUVIoexvQeLQDBCgQPC5O8rJdqBwtwIVAK2J
|
|
|
653b37 |
-jt+dqk07eQUE59koYUEKyNorAoGBAI4IEpusf8G14kCHmRtnHXM2tG5EWJDmW6Qt
|
|
|
653b37 |
-wjqvWp1GKUx5WFy1tVWR9nl5rL0Di+kNdENo+SkKj7h3uDulGOI6T0mQYbV2h1IK
|
|
|
653b37 |
-+FMOGnOqvZ8eNTE2n4PGTo5puZ63LBm+QYrQsrNiUY4vakLFQ2rEK/SLwdsDFK4Z
|
|
|
653b37 |
-SJCBQw5zAoGATQlPPF+OeU8nu3rsdXGDiZdJzOkuCce3KQfTABA9C+Dk4CVcvBdd
|
|
|
653b37 |
-YRLGpnykumkNTO1sTO+4/Gphsuje1ujK9td4UEhdYqylCe5QjEMrszDlJtelDQF9
|
|
|
653b37 |
-C0yhdjKGTP0kxofLhsGckcuQvcKEKffT2pDDKJIy4vWQO0UyJl1vjLcCFG2uiGGx
|
|
|
653b37 |
-9fMUZq1v0ePD4Wo0Xkxo
|
|
|
653b37 |
------END DSA PRIVATE KEY-----
|
|
|
653b37 |
+-----BEGI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3bgajfxCsccnRjSbLeNiazRSKNg
|
|
|
653b37 |
+MF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCBeAwHQYDVR0OBBYEFNHQYTOO
|
|
|
653b37 |
+xaZ/N68OpxqjHKuatw6sMB8GA1UdIwQYMBaAFMmRUwpjexZbi71E8HaIqSTm5bZs
|
|
|
653b37 |
+MA0GCSqGSIb3DQEBBQUAA4IBAQAAiLociMMXcLkO/uKjAjCIQMrsghrOrxn4ZGBx
|
|
|
653b37 |
+d/mCTeqPxhcrX2UorwxVCKI2+Dmz5dTC2xKprtvkiIadJamJmxYYzeF1pgRriFN3
|
|
|
653b37 |
+MkmMMkTbe/ekSvSeMtHQ2nHDCAJIaA/k9akWfA0+26Ec25/JKMrl3LttllsJMK1z
|
|
|
653b37 |
+Xj7TcQpAIWORKWSNxY/ezM34+9ABHDZB2waubFqS+irlZsn38aZRuUI0K67fuuIt
|
|
|
653b37 |
+17vMUBqQpe2hfNAjpZ8dIpEdAGjQ6izV2uwP1lXbiaK9U4dvUqmwyCIPniX7Hpaf
|
|
|
653b37 |
+0VnX0mEViXMT6vWZTjLBUv0oKmO7xBkWHIaaX6oyF32pK5AO
|
|
|
653b37 |
-----END CERTIFICATE-----
|
|
|
653b37 |
diff --git a/test/smime-certs/smdsa2.pem b/test/smime-certs/smdsa2.pem
|
|
|
653b37 |
index ef86c11..648447f 100644
|
|
|
653b37 |
--- a/test/smime-certs/smdsa2.pem
|
|
|
653b37 |
+++ b/test/smime-certs/smdsa2.pem
|
|
|
653b37 |
@@ -1,34 +1,47 @@
|
|
|
653b37 |
------BEGIN DSA PRIVATE KEY-----
|
|
|
653b37 |
-MIIBvAIBAAKBgQDFJfsIPOIawMO5biw+AoYUhNVxReBOLQosU3Qv4B8krac0BNr3
|
|
|
653b37 |
-OjSGLh1wZxHqhlAE0QmasTaKojuk20nNWeFnczSz6vDl0IVJEhS8VYor5kt9gLqt
|
|
|
653b37 |
-GcoAgsf4gRDIutJyQDaN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hknr7V2e1VMx3Q47GZhc0o/gExfhxXA8+gicM0nEYNakD
|
|
|
653b37 |
+2A1F0qDhQGakjuofANHhjdUDqKJ1sxurAy80fqb0ddzJt2el89iXKN+aXx/zEX96
|
|
|
653b37 |
+GI5ON7z/bkVwIi549lUOpWb2Mved61NBzCLKVP7HSuEIsC/I
|
|
|
653b37 |
-----END CERTIFICATE-----
|
|
|
653b37 |
diff --git a/test/smime-certs/smdsa3.pem b/test/smime-certs/smdsa3.pem
|
|
|
653b37 |
index eeb848d..77acc5e 100644
|
|
|
653b37 |
--- a/test/smime-certs/smdsa3.pem
|
|
|
653b37 |
+++ b/test/smime-certs/smdsa3.pem
|
|
|
653b37 |
@@ -1,34 +1,47 @@
|
|
|
653b37 |
------BEGIN DSA PRIVATE KEY-----
|
|
|
653b37 |
-MIIBvAIBAAKBgQDFJfsIPOIawMO5biw+AoYUhNVxReBOLQosU3Qv4B8krac0BNr3
|
|
|
653b37 |
-OjSGLh1wZxHqhlAE0QmasTaKojuk20nNWeFnczSz6vDl0IVJEhS8VYor5kt9gLqt
|
|
|
653b37 |
-GcoAgsf4gRDIutJyQDaNn3IVY89uXUVIoexvQeLQDBCgQPC5O8rJdqBwtwIVAK2J
|
|
|
653b37 |
-jt+dqk07eQUE59koYUEKyNorAoGBAI4IEpusf8G14kCHmRtnHXM2tG5EWJDmW6Qt
|
|
|
653b37 |
-wjqvWp1GKUx5WFy1tVWR9nl5rL0Di+kNdENo+SkKj7h3uDulGOI6T0mQYbV2h1IK
|
|
|
653b37 |
-+FMOGnOqvZ8eNTE2n4PGTo5puZ63LBm+QYrQsrNiUY4vakLFQ2rEK/SLwdsDFK4Z
|
|
|
653b37 |
-SJCBQw5zAoGAYzOpPmh8Je1IDauEXhgaLz14wqYUHHcrj2VWVJ6fRm8GhdQFJSI7
|
|
|
653b37 |
-GUk08pgKZSKic2lNqxuzW7/vFxKQ/nvzfytY16b+2i+BR4Q6yvMzCebE1hHVg0Ju
|
|
|
653b37 |
-Twf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gE7TqpuSEpaSyQ4nzJROpZWZp
|
|
|
653b37 |
+N1RwFmCURReykABU/Nzin/+rZnvZrp8WoXSXEqxeB4mShRSaH57xFnJCpRwKJ4qS
|
|
|
653b37 |
+2uhATzJaKH7vu63k3DjftbSBVh+32YXwtHc+BGjs8S2aDtCW3FtDA7Z6J8BIxaNg
|
|
|
653b37 |
+MF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCBeAwHQYDVR0OBBYEFMJxatDE
|
|
|
653b37 |
+FCEFGl4uoiQQ1050Ju9RMB8GA1UdIwQYMBaAFMmRUwpjexZbi71E8HaIqSTm5bZs
|
|
|
653b37 |
+MA0GCSqGSIb3DQEBBQUAA4IBAQBGZD1JnMep39KMOhD0iBTmyjhtcnRemckvRask
|
|
|
653b37 |
+pS/CqPwo+M+lPNdxpLU2w9b0QhPnj0yAS/BS1yBjsLGY4DP156k4Q3QOhwsrTmrK
|
|
|
653b37 |
+YOxg0w7DOpkv5g11YLJpHsjSOwg5uIMoefL8mjQK6XOFOmQXHJrUtGulu+fs6FlM
|
|
|
653b37 |
+khGJcW4xYVPK0x/mHvTT8tQaTTkgTdVHObHF5Dyx/F9NMpB3RFguQPk2kT4lJc4i
|
|
|
653b37 |
+Up8T9mLzaxz6xc4wwh8h70Zw81lkGYhX+LRk3sfd/REq9x4QXQNP9t9qU1CgrBzv
|
|
|
653b37 |
+4orzt9cda4r+rleSg2XjWnXzMydE6DuwPVPZlqnLbSYUy660
|
|
|
653b37 |
-----END CERTIFICATE-----
|
|
|
653b37 |
diff --git a/test/smime-certs/smec1.pem b/test/smime-certs/smec1.pem
|
|
|
653b37 |
new file mode 100644
|
|
|
653b37 |
index 0000000..75a8626
|
|
|
653b37 |
--- /dev/null
|
|
|
653b37 |
+++ b/test/smime-certs/smec1.pem
|
|
|
653b37 |
@@ -0,0 +1,22 @@
|
|
|
653b37 |
+-----BEGIN PRIVATE KEY-----
|
|
|
653b37 |
+MIGHAgEAMBMGByqGSM49AgEG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/fdKfBxfr9/SvFHnK7PVAX2x1wwS4HglX1lfoyq1boSvsiJOnAX3jsqXJ9TJiV
|
|
|
653b37 |
+FlgRVnhnrw6zz3Xs/9ZDMTENUrqDHPNsDkKEi+9SqIsqDXpMCrGHP4ic+S8Rov1y
|
|
|
653b37 |
+S+0XioMxVyXDp6XcL4PQ/NgHbw5/+UcS0me0atZ6pW68C0vi6xeU5vxojyuZxMI1
|
|
|
653b37 |
+DXXwMhOXWaKff7KNhXDUN0g58iWlnyaCz4XQwFsbbFs88TQ1+e/aj3bbwTxUeyN7
|
|
|
653b37 |
+qtcHJA==
|
|
|
653b37 |
+-----END CERTIFICATE-----
|
|
|
653b37 |
diff --git a/test/smime-certs/smec2.pem b/test/smime-certs/smec2.pem
|
|
|
653b37 |
new file mode 100644
|
|
|
653b37 |
index 0000000..457297a
|
|
|
653b37 |
--- /dev/null
|
|
|
653b37 |
+++ b/test/smime-certs/smec2.pem
|
|
|
653b37 |
@@ -0,0 +1,23 @@
|
|
|
653b37 |
+-----BEGIN PRIVATE KEY-----
|
|
|
653b37 |
+MIGPAgEAMBAGByqGSM49AgEGBSuBBAAQBHgwdgIBAQQjhHaq507MOBznelrLG/pl
|
|
|
653b37 |
+brnnJi/iEJUUp+Pm3PEiteXqckmhTANKAAQF2zs6vobmoT+M+P2+9LZ7asvFBNi7
|
|
|
653b37 |
+uCzLYF/8j1Scn/spczoC9vNzVhNw+Lg7dnjNL4EDIyYZLl7E0v69luzbvy+q44/8
|
|
|
653b37 |
+6bQ=
|
|
|
653b37 |
+-----END PRIVATE KEY-----
|
|
|
653b37 |
+-----BEGIN CERTIFICATE-----
|
|
|
653b37 |
+MIICpTCCAY2gAwIBAgIJANk5lu6mSyBHMA0GCSqGSIb3DQEBBQUAMEQxCzAJBgNV
|
|
|
653b37 |
+BAYTAlVLMRYwFAYDVQQKDA1PcGVuU1NMIEdyb3VwMR0wGwYDVQQDDBRUZXN0IFMv
|
|
|
653b37 |
+TUlNRSBSU0EgUm9vdDAeFw0xMzA3MTcxNzI4MzFaFw0yMzA1MjYxNzI4MzFaMEQx
|
|
|
653b37 |
+CzAJBgNVBAYTAlVLMRYwFAYDVQQKDA1PcGVuU1NMIEdyb3VwMR0wGwYDVQQDDBRU
|
|
|
653b37 |
+ZXN0IFMvTUlNRSBFRSBFQyAjMjBeMBAGByqGSM49AgEGBSuBBAAQA0oABAXbOzq+
|
|
|
653b37 |
+huahP4z4/b70tntqy8UE2Lu4LMtgX/yPVJyf+ylzOgL283NWE3D4uDt2eM0vgQMj
|
|
|
653b37 |
+JhkuXsTS/r2W7Nu/L6rjj/zptKNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8E
|
|
|
653b37 |
+BAMCBeAwHQYDVR0OBBYEFGf+QSQlkN20PsNN7x+jmQIJBDcXMB8GA1UdIwQYMBaA
|
|
|
653b37 |
+FMmRUwpjexZbi71E8HaIqSTm5bZsMA0GCSqGSIb3DQEBBQUAA4IBAQBaBBryl2Ez
|
|
|
653b37 |
+ftBrGENXMKQP3bBEw4n9ely6HvYQi9IC7HyK0ktz7B2FcJ4z96q38JN3cLxV0DhK
|
|
|
653b37 |
+xT/72pFmQwZVJngvRaol0k1B+bdmM03llxCw/uNNZejixDjHUI9gEfbigehd7QY0
|
|
|
653b37 |
+uYDu4k4O35/z/XPQ6O5Kzw+J2vdzU8GXlMBbWeZWAmEfLGbk3Ux0ouITnSz0ty5P
|
|
|
653b37 |
+rkHTo0uprlFcZAsrsNY5v5iuomYT7ZXAR3sqGZL1zPOKBnyfXeNFUfnKsZW7Fnlq
|
|
|
653b37 |
+IlYBQIjqR1HGxxgCSy66f1oplhxSch4PUpk5tqrs6LeOqc2+xROy1T5YrB3yjVs0
|
|
|
653b37 |
+4ZdCllHZkhop
|
|
|
653b37 |
+-----END CERTIFICATE-----
|
|
|
653b37 |
diff --git a/test/smime-certs/smroot.pem b/test/smime-certs/smroot.pem
|
|
|
653b37 |
index a59eb26..d1a253f 100644
|
|
|
653b37 |
--- a/test/smime-certs/smroot.pem
|
|
|
653b37 |
+++ b/test/smime-certs/smroot.pem
|
|
|
653b37 |
@@ -1,30 +1,49 @@
|
|
|
653b37 |
------BEGIN RSA PRIVATE KEY-----
|
|
|
653b37 |
-MIICXAIBAAKBgQDBV1Z/Q5gPF7lojc8pKUdyz5+Jf2B3vs4he6egekugWnoJduki
|
|
|
653b37 |
-9Lnae/JchB/soIX0co3nLc11NuFFlnAWJNMDJr08l5AHAJLYNHevF5l/f9oDQwvZ
|
|
|
653b37 |
-speKh1xpIAJNqCTzVeQ/ZLx6/GccIXV/xDuKIiovqJTPgR5WPkYKaw++lQIDAQAB
|
|
|
653b37 |
-AoGALXnUj5SflJU4+B2652ydMKUjWl0KnL/VjkyejgGV/j6py8Ybaixz9q8Gv7oY
|
|
|
653b37 |
-JDlRqMC1HfZJCFQDQrHy5VJ+CywA/H9WrqKo/Ch9U4tJAZtkig1Cmay/BAYixVu0
|
|
|
653b37 |
-xBeim10aKF6hxHH4Chg9We+OCuzWBWJhqveNjuDedL/i7JUCQQDlejovcwBUCbhJ
|
|
|
653b37 |
-U12qKOwlaboolWbl7yF3XdckTJZg7+1UqQHZH5jYZlLZyZxiaC92SNV0SyTLJZnS
|
|
|
653b37 |
-Jh5CO+VDAkEA16/pPcuVtMMz/R6SSPpRSIAa1stLs0mFSs3NpR4pdm0n42mu05pO
|
|
|
653b37 |
-1tJEt3a1g7zkreQBf53+Dwb+lA841EkjRwJBAIFmt0DifKDnCkBu/jZh9SfzwsH3
|
|
|
653b37 |
-3Zpzik+hXxxdA7+ODCrdUul449vDd5zQD5t+XKU61QNLDGhxv5e9XvrCg7kCQH/a
|
|
|
653b37 |
-3ldsVF0oDaxxL+QkxoREtCQ5tLEd1u7F2q6Tl56FDE0pe6Ih6bQ8RtG+g9EI60IN
|
|
|
653b37 |
-U7oTrOO5kLWx5E0q4ccCQAZVgoenn9MhRU1agKOCuM6LT2DxReTu4XztJzynej+8
|
|
|
653b37 |
-0J93n3ebanB1MlRpn1XJwhQ7gAC8ImaQKLJK5jdJzFc=
|
|
|
653b37 |
------END RSA PRIVATE KEY-----
|
|
|
653b37 |
+-----BEGIN PRIVATE KEY-----
|
|
|
653b37 |
+MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCyyQXED5HyVWwq
|
|
|
653b37 |
+nXyzmY317yMUJrIfsKvREG2C691dJNHgNg+oq5sjt/fzkyS84AvdOiicAsao4cYL
|
|
|
653b37 |
+DulthaLpbC7msEBhvwAil0FNb5g3ERupe1KuTdUV1UuD/i6S2VoaNXUBBn1rD9Wc
|
|
|
653b37 |
+BBc0lnx/4Wt92eQTI6925pt7ZHPQw2Olp7TQDElyi5qPxCem4uT0g3zbZsWqmmsI
|
|
|
653b37 |
+MXbu+K3dEprzqA1ucKXbxUmZNkMwVs2XCmlLxrRUj8C3/zENtH17HWCznhR/IVcV
|
|
|
653b37 |
+kgIuklkeiDsEhbWvUQumVXR7oPh/CPZAbjGqq5mVueHSHrp7brBVZKHZvoUka28Q
|
|
|
653b37 |
+LWitq1W5AgMBAAECggEASkRnOMKfBeOmQy2Yl6K57eeg0sYgSDnDpd0FINWJ5x9c
|
|
|
653b37 |
+b58FcjOXBodtYKlHIY6QXx3BsM0WaSEge4d+QBi7S+u8r+eXVwNYswXSArDQsk9R
|
|
|
653b37 |
+Bl5MQkvisGciL3pvLmFLpIeASyS/BLJXMbAhU58PqK+jT2wr6idwxBuXivJ3ichu
|
|
|
653b37 |
+ISdT1s2aMmnD86ulCD2DruZ4g0mmk5ffV+Cdj+WWkyvEaJW2GRYov2qdaqwSOxV4
|
|
|
653b37 |
+Yve9qStvEIWAf2cISQjbnw2Ww6Z5ebrqlOz9etkmwIly6DTbrIneBnoqJlFFWGlF
|
|
|
653b37 |
+ghuzc5RE2w1GbcKSOt0qXH44MTf/j0r86dlu7UIxgQKBgQDq0pEaiZuXHi9OQAOp
|
|
|
653b37 |
+PsDEIznCU1bcTDJewANHag5DPEnMKLltTNyLaBRulMypI+CrDbou0nDr29VOzfXx
|
|
|
653b37 |
+mNvi/c7RttOBOx7kXKvu0JUFKe2oIWRsg0KsyMX7UFMVaHFgrW+8DhQc7HK7URiw
|
|
|
653b37 |
+nitOnA7YwIHRF9BMmcWcLFEYBQKBgQDC6LPbXV8COKO0YCfGXPnE7EZGD/p0Q92Z
|
|
|
653b37 |
+8CoSefphEScSdO1IpxFXG7fOZ4x2GQb9q7D3IvaeKAqNjUjkuyxdB30lIWDBwSWw
|
|
|
653b37 |
+fFgsa2SZwD5P60G/ar50YJr6LiF333aUMDVmC9swFfZERAEmGUz2NTrPWQdIx/lu
|
|
|
653b37 |
+PyDtUR75JQKBgHaoCCJ8vl5SJl1IA5GV4Bo8IoeLTSzsY9d09zMy6BoZcMD1Ix2T
|
|
|
653b37 |
+5S2cXhayoegl9PT6bsYSGHVWFCdJ86ktMI826TcXRzDaCvYhzc9THroJQcnfdbtP
|
|
|
653b37 |
+aHWezkv7fsAmkoPjn75K7ubeo+r7Q5qbkg6a1PW58N8TRXIvkackzaVxAoGBALAq
|
|
|
653b37 |
+qh3U+AHG9dgbrPeyo6KkuCOtX39ks8/mbfCDRZYkbb9V5f5r2tVz3R93IlK/7jyr
|
|
|
653b37 |
+yWimtmde46Lrl33922w+T5OW5qBZllo9GWkUrDn3s5qClcuQjJIdmxYTSfbSCJiK
|
|
|
653b37 |
+NkmE39lHkG5FVRB9f71tgTlWS6ox7TYDYxx83NTtAoGAUJPAkGt4yGAN4Pdebv53
|
|
|
653b37 |
+bSEpAAULBHntiqDEOu3lVColHuZIucml/gbTpQDruE4ww4wE7dOhY8Q4wEBVYbRI
|
|
|
653b37 |
+vHkSiWpJUvZCuKG8Foh5pm9hU0qb+rbQV7NhLJ02qn1AMGO3F/WKrHPPY8/b9YhQ
|
|
|
653b37 |
+KfvPCYimQwBjVrEnSntLPR0=
|
|
|
653b37 |
+-----END PRIVATE KEY-----
|
|
|
653b37 |
-----BEGIN CERTIFICATE-----
|
|
|
653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b37 |
+Op1NPI9UkMPb4PCg9YC7jgYokBkvAcI7J4FcuDKMVhyCD3cljp0ouuKruvEf4FBl
|
|
|
653b37 |
+zyQ9pLqA97TuG8g1hLTl8G90NzTRcmKpmhs18BmCxiqHcTfoIpb3QvPkDX8R7LVt
|
|
|
653b37 |
+9BUGgPY+8ELCgw868TuHh/Cnc67gBtRjBp0sCYVzGZmKsO5f1XdHrAZKYN5mEp0C
|
|
|
653b37 |
+7/OqcDoFqORTquLeycg1At/9GqhDEgxNrqA+YEsPbLGAfsNuXUsXs2ubpGsOZxKt
|
|
|
653b37 |
+Emsny2ah6fU2z7PztrUy/A80
|
|
|
653b37 |
-----END CERTIFICATE-----
|
|
|
653b37 |
diff --git a/test/smime-certs/smrsa1.pem b/test/smime-certs/smrsa1.pem
|
|
|
653b37 |
index 2cf3148..d0d0b9e 100644
|
|
|
653b37 |
--- a/test/smime-certs/smrsa1.pem
|
|
|
653b37 |
+++ b/test/smime-certs/smrsa1.pem
|
|
|
653b37 |
@@ -1,31 +1,49 @@
|
|
|
653b37 |
------BEGIN RSA PRIVATE KEY-----
|
|
|
653b37 |
-MIICXgIBAAKBgQC6A978j4pmPgUtUQqF+bjh6vdhwGOGZSD7xXgFTMjm88twfv+E
|
|
|
653b37 |
-ixkq2KXSDjD0ZXoQbdOaSbvGRQrIJpG2NGiKAFdYNrP025kCCdh5wF/aEI7KLEm7
|
|
|
653b37 |
-JlHwXpQsuj4wkMgmkFjL3Ty4Z55aNH+2pPQIa0k+ENJXm2gDuhqgBmduAwIDAQAB
|
|
|
653b37 |
-AoGBAJMuYu51aO2THyeHGwt81uOytcCbqGP7eoib62ZOJhxPRGYjpmuqX+R9/V5i
|
|
|
653b37 |
-KiwGavm63JYUx0WO9YP+uIZxm1BUATzkgkS74u5LP6ajhkZh6/Bck1oIYYkbVOXl
|
|
|
653b37 |
-JVrdENuH6U7nupznsyYgONByo+ykFPVUGmutgiaC7NMVo/MxAkEA6KLejWXdCIEn
|
|
|
653b37 |
-xr7hGph9NlvY9xuRIMexRV/WrddcFfCdjI1PciIupgrIkR65M9yr7atm1iU6/aRf
|
|
|
653b37 |
-KOr8rLZsSQJBAMyyXN71NsDNx4BP6rtJ/LJMP0BylznWkA7zWfGCbAYn9VhZVlSY
|
|
|
653b37 |
-Eu9Gyr7quD1ix7G3kInKVYOEEOpockBLz+sCQQCedyMmKjcQLfpMVYW8uhbAynvW
|
|
|
653b37 |
-h36qV5yXZxszO7nMcCTBsxhk5IfmLv5EbCs3+p9avCDGyoGOeUMg+kC33WORAkAg
|
|
|
653b37 |
-oUIarH4o5+SoeJTTfCzTA0KF9H5U0vYt2+73h7HOnWoHxl3zqDZEfEVvf50U8/0f
|
|
|
653b37 |
-QELDJETTbScBJtsnkq43AkEA38etvoZ2i4FJvvo7R/9gWBHVEcrGzcsCBYrNnIR1
|
|
|
653b37 |
-SZLRwHEGaiOK1wxMsWzqp7PJwL9z/M8A8DyOFBx3GPOniA==
|
|
|
653b37 |
------END RSA PRIVATE KEY-----
|
|
|
653b37 |
+-----BEGIN PRIVATE KEY-----
|
|
|
653b37 |
+MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDXr9uzB/20QXKC
|
|
|
653b37 |
+xhkfNnJvl2xl1hzdOcrQmAqo+AAAcA/D49ImuJDVQRaK2bcj54XB26i1kXuOrxID
|
|
|
653b37 |
+3/etUb8yudfx8OAVwh8G0xVA4zhr8uXW85W2tBr4v0Lt+W6lSd6Hmfrk4GmE9LTU
|
|
|
653b37 |
+/vzl9HUPW6SZShN1G0nY6oeUXvLi0vasEUKv3a51T6JFYg4c7qt5RCk/w8kwrQ0D
|
|
|
653b37 |
+orQwCdkOPEIiC4b+nPStF12SVm5bx8rbYzioxuY/PdSebvt0APeqgRxSpCxqYnHs
|
|
|
653b37 |
+CoNeHzSrGXcP0COzFeUOz2tdrhmH09JLbGZs4nbojPxMkjpJSv3/ekDG2CHYxXSH
|
|
|
653b37 |
+XxpJstxZAgMBA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F
|
|
|
653b37 |
+Yg4c7qt5RCk/w8kwrQ0DorQwCdkOPEIiC4b+nPStF12SVm5bx8rbYzioxuY/PdSe
|
|
|
653b37 |
+bvt0APeqgRxSpCxqYnHsCoNeHzSrGXcP0COzFeUOz2tdrhmH09JLbGZs4nbojPxM
|
|
|
653b37 |
+kjpJSv3/ekDG2CHYxXSHXxpJstxZAgMBAAGjYDBeMAwGA1UdEwEB/wQCMAAwDgYD
|
|
|
653b37 |
+VR0PAQH/BAQDAgXgMB0GA1UdDgQWBBTmjc+lrTQuYx/VBOBGjMvufajvhDAfBgNV
|
|
|
653b37 |
+HSMEGDAWgBTJkVMKY3sWW4u9RPB2iKkk5uW2bDANBgkqhkiG9w0BAQUFAAOCAQEA
|
|
|
653b37 |
+dr2IRXcFtlF16kKWs1VTaFIHHNQrfSVHBkhKblPX3f/0s/i3eXgwKUu7Hnb6T3/o
|
|
|
653b37 |
+E8L+e4ioQNhahTLt9ruJNHWA/QDwOfkqM3tshCs2xOD1Cpy7Bd3Dn0YBrHKyNXRK
|
|
|
653b37 |
+WelGp+HetSXJGW4IZJP7iES7Um0DGktLabhZbe25EnthRDBjNnaAmcofHECWESZp
|
|
|
653b37 |
+lEHczGZfS9tRbzOCofxvgLbF64H7wYSyjAe6R8aain0VRbIusiD4tCHX/lOMh9xT
|
|
|
653b37 |
+GNBW8zTL+tV9H1unjPMORLnT0YQ3oAyEND0jCu0ACA1qGl+rzxhF6bQcTUNEbRMu
|
|
|
653b37 |
+9Hjq6s316fk4Ne0EUF3PbA==
|
|
|
653b37 |
-----END CERTIFICATE-----
|
|
|
653b37 |
diff --git a/test/smime-certs/smrsa2.pem b/test/smime-certs/smrsa2.pem
|
|
|
653b37 |
index d41f69c..2f17cb2 100644
|
|
|
653b37 |
--- a/test/smime-certs/smrsa2.pem
|
|
|
653b37 |
+++ b/test/smime-certs/smrsa2.pem
|
|
|
653b37 |
@@ -1,31 +1,49 @@
|
|
|
653b37 |
------BEGIN RSA PRIVATE KEY-----
|
|
|
653b37 |
-MIICWwIBAAKBgQCwBfryW4Vu5U9wNIDKspJO/N9YF4CcTlrCUyzVlKgb+8urHlSe
|
|
|
653b37 |
-59i5verR9IOCCXkemjOzZ/3nALTGqYZlnEvHp0Rjk+KdKXnKBIB+SRPpeu3LcXMT
|
|
|
653b37 |
-WPgsThPa0UQxedNKG0g6aG+kLhsDlFBCoxd09jJtSpb9jmroJOq0ZYEHLwIDAQAB
|
|
|
653b37 |
-AoGAKa/w4677Je1W5+r3SYoLDnvi5TkDs4D3C6ipKJgBTEdQz+DqB4w/DpZE4551
|
|
|
653b37 |
-+rkFn1LDxcxuHGRVa+tAMhZW97fwq9YUbjVZEyOz79qrX+BMyl/NbHkf1lIKDo3q
|
|
|
653b37 |
-dWalzQvop7nbzeLC+VmmviwZfLQUbA61AQl3jm4dswT4XykCQQDloDadEv/28NTx
|
|
|
653b37 |
-bvvywvyGuvJkCkEIycm4JrIInvwsd76h/chZ3oymrqzc7hkEtK6kThqlS5y+WXl6
|
|
|
653b37 |
-QzPruTKTAkEAxD2ro/VUoN+scIVaLmn0RBmZ67+9Pdn6pNSfjlK3s0T0EM6/iUWS
|
|
|
653b37 |
-M06l6L9wFS3/ceu1tIifsh9BeqOGTa+udQJARIFnybTBaIqw/NZ/lA1YCVn8tpvY
|
|
|
653b37 |
-iyaoZ6gjtS65TQrsdKeh/i3HCHNUXxUpoZ3F/H7QtD+6o49ODou+EbVOwQJAVmex
|
|
|
653b37 |
-A2gp8wuJKaINqxIL81AybZLnCCzKJ3lXJ5tUNyLNM/lUbGStktm2Q1zHRQwTxV07
|
|
|
653b37 |
-jFn7trn8YrtNjzcjYQJAUKIJRt38A8Jw3HoPT+D0WS2IgxjVL0eYGsZX1lyeammG
|
|
|
653b37 |
-6rfnQ3u5uP7mEK2EH2o8mDUpAE0gclWBU9UkKxJsGA==
|
|
|
653b37 |
------END RSA PRIVATE KEY-----
|
|
|
653b37 |
+-----BEGIN PRIVATE KEY-----
|
|
|
653b37 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sXUo7tGwpvw6UUb6/YWI
|
|
|
653b37 |
+LNCzZbrCLg1KZjGODhhxtvN45ZkCgYEA4YNSe+GMZlxgsvxbLs86WOm6DzJUPvxN
|
|
|
653b37 |
+bWmni0+Oe0cbevgGEUjDVc895uMFnpvlgO49/C0AYJ+VVbStjIMgAeMnWj6OZoSX
|
|
|
653b37 |
+q49rI8KmKUxKgORZiiaMqGWQ7Rxv68+4S8WANsjFxoUrE6dNV3uYDIUsiSLbZeI8
|
|
|
653b37 |
+38KVTcLohcECgYEAiOdyWHGq0G4xl/9rPUCzCMsa4velNV09yYiiwBZgVgfhsawm
|
|
|
653b37 |
+hQpOSBZJA60XMGqkyEkT81VgY4UF4QLLcD0qeCnWoXWVHFvrQyY4RNZDacpl87/t
|
|
|
653b37 |
+QGO2E2NtolL3umesa+2TJ/8Whw46Iu2llSjtVDm9NGiPk5eA7xPPf1iEi9kCgYAb
|
|
|
653b37 |
+0EmVE91wJoaarLtGS7LDkpgrFacEWbPnAbfzW62UENIX2Y1OBm5pH/Vfi7J+vHWS
|
|
|
653b37 |
+8E9e0eIRCL2vY2hgQy/oa67H151SkZnvQ/IP6Ar8Xvd1bDSK8HQ6tMQqKm63Y9g0
|
|
|
653b37 |
+KDjHCP4znOsSMnk8h/bZ3HcAtvbeWwftBR/LBnYNQQKBgA1leIXLLHRoX0VtS/7e
|
|
|
653b37 |
+y7Xmn7gepj+gDbSuCs5wGtgw0RB/1z/S3QoS2TCbZzKPBo20+ivoRP7gcuFhduFR
|
|
|
653b37 |
+hT8V87esr/QzLVpjLedQDW8Xb7GiO3BsU/gVC9VcngenbL7JObl3NgvdreIYo6+n
|
|
|
653b37 |
+yrLyf+8hjm6H6zkjqiOkHAl+
|
|
|
653b37 |
+-----END PRIVATE KEY-----
|
|
|
653b37 |
-----BEGIN CERTIFICATE-----
|
|
|
653b37 |
-MIICizCCAfSgAwIBAgIJAMtotfHYdEsUMA0GCSqGSIb3DQEBBQUAMEQxCzAJBgNV
|
|
|
653b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Fj4fAp8z7Vn5qxRJj9BhZDxaO1Raa6cz6pm0imJy9v8y01TI6HsK8c
|
|
|
653b37 |
+XJQLs7/U4Qb91K+IDNX/lgW3hzWjifNpIpT5JyY3DUgbkD595LFV5DDMZd0UOqcv
|
|
|
653b37 |
+6cyN42zkX8a0TWr3i5wu7pw4k1oD19RbUyljyleEp0DBauIct4GARdBGgi5y1H2i
|
|
|
653b37 |
+NzYzLAPBkHCMY0Is3KKIBw==
|
|
|
653b37 |
-----END CERTIFICATE-----
|
|
|
653b37 |
diff --git a/test/smime-certs/smrsa3.pem b/test/smime-certs/smrsa3.pem
|
|
|
653b37 |
index c8cbe55..14c27f6 100644
|
|
|
653b37 |
--- a/test/smime-certs/smrsa3.pem
|
|
|
653b37 |
+++ b/test/smime-certs/smrsa3.pem
|
|
|
653b37 |
@@ -1,31 +1,49 @@
|
|
|
653b37 |
------BEGIN RSA PRIVATE KEY-----
|
|
|
653b37 |
-MIICXAIBAAKBgQC6syTZtZNe1hRScFc4PUVyVLsr7+C1HDIZnOHmwFoLayX6RHwy
|
|
|
653b37 |
-ep/TkdwiPHnemVLuwvpSjLMLZkXy/J764kSHJrNeVl3UvmCVCOm40hAtK1+F39pM
|
|
|
653b37 |
-h8phkbPPD7i+hwq4/Vs79o46nzwbVKmzgoZBJhZ+codujUSYM3LjJ4aq+wIDAQAB
|
|
|
653b37 |
-AoGAE1Zixrnr3bLGwBMqtYSDIOhtyos59whImCaLr17U9MHQWS+mvYO98if1aQZi
|
|
|
653b37 |
-iQ/QazJ+wvYXxWJ+dEB+JvYwqrGeuAU6He/rAb4OShG4FPVU2D19gzRnaButWMeT
|
|
|
653b37 |
-/1lgXV08hegGBL7RQNaN7b0viFYMcKnSghleMP0/q+Y/oaECQQDkXEwDYJW13X9p
|
|
|
653b37 |
-ijS20ykWdY5lLknjkHRhhOYux0rlhOqsyMZjoUmwI2m0qj9yrIysKhrk4MZaM/uC
|
|
|
653b37 |
-hy0xp3hdAkEA0Uv/UY0Kwsgc+W6YxeypECtg1qCE6FBib8n4iFy/6VcWqhvE5xrs
|
|
|
653b37 |
-OdhKv9/p6aLjLneGd1sU+F8eS9LGyKIbNwJBAJPgbNzXA7uUZriqZb5qeTXxBDfj
|
|
|
653b37 |
-RLfXSHYKAKEULxz3+JvRHB9SR4yHMiFrCdExiZrHXUkPgYLSHLGG5a4824UCQD6T
|
|
|
653b37 |
-9XvhquUARkGCAuWy0/3Eqoihp/t6BWSdQ9Upviu7YUhtUxsyXo0REZB7F4pGrJx5
|
|
|
653b37 |
-GlhXgFaewgUzuUHFzlMCQCzJMMWslWpoLntnR6sMhBMhBFHSw+Y5CbxBmFrdtSkd
|
|
|
653b37 |
-VdtNO1VuDCTxjjW7W3Khj7LX4KZ1ye/5jfAgnnnXisc=
|
|
|
653b37 |
------END RSA PRIVATE KEY-----
|
|
|
653b37 |
+-----BEGIN PRIVATE KEY-----
|
|
|
653b37 |
+MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCyK+BTAOJKJjji
|
|
|
653b37 |
+OhY60NeZjzGGZxEBfCm62n0mwkzusW/V/e63uwj6uOVCFoVBz5doMf3M6QIS2jL3
|
|
|
653b37 |
+Aw6Qs5+vcuLA0gHrqIwjYQz1UZ5ETLKLKbQw6YOIVfsFSTxytUVpfcByrubWiLKX
|
|
|
653b37 |
+63theG1/IVokDK/9/k52Kyt+wcCjuRb7AJQFj2OLDRuWm/gavozkK103gQ+dUq4H
|
|
|
653b37 |
+XamZMtTq1EhQOfc0IUeCOEL6xz4jzlHHfzLdkvb7Enhav2sXDfOmZp/DYf9IqS7l
|
|
|
653b37 |
+vFkkINPVbYFBTexaPZlFwmpGRjkmoyH/w+Jlcpzs+w6p1diWRpaSn62bbkRN49j6
|
|
|
653b37 |
+L2dVb+DfAgMBAAECggEAciwDl6zdVT6g/PbT/+SMA+7qgYHSN+1koEQaJpgjzGEP
|
|
|
653b37 |
+lUUfj8TewCtzXaIoyj9IepBuXryBg6snNXpT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 |
+v2sXDfOmZp/DYf9IqS7lvFkkINPVbYFBTexaPZlFwmpGRjkmoyH/w+Jlcpzs+w6p
|
|
|
653b37 |
+1diWRpaSn62bbkRN49j6L2dVb+DfAgMBAAGjYDBeMAwGA1UdEwEB/wQCMAAwDgYD
|
|
|
653b37 |
+VR0PAQH/BAQDAgXgMB0GA1UdDgQWBBQ6CkW5sa6HrBsWvuPOvMjyL5AnsDAfBgNV
|
|
|
653b37 |
+HSMEGDAWgBTJkVMKY3sWW4u9RPB2iKkk5uW2bDANBgkqhkiG9w0BAQUFAAOCAQEA
|
|
|
653b37 |
+JhcrD7AKafVzlncA3cZ6epAruj1xwcfiE+EbuAaeWEGjoSltmevcjgoIxvijRVcp
|
|
|
653b37 |
+sCbNmHJZ/siQlqzWjjf3yoERvLDqngJZZpQeocMIbLRQf4wgLAuiBcvT52wTE+sa
|
|
|
653b37 |
+VexeETDy5J1OW3wE4A3rkdBp6hLaymlijFNnd5z/bP6w3AcIMWm45yPm0skM8RVr
|
|
|
653b37 |
+O3UstEFYD/iy+p+Y/YZDoxYQSW5Vl+NkpGmc5bzet8gQz4JeXtH3z5zUGoDM4XK7
|
|
|
653b37 |
+tXP3yUi2eecCbyjh/wgaQiVdylr1Kv3mxXcTl+cFO22asDkh0R/y72nTCu5fSILY
|
|
|
653b37 |
+CscFo2Z2pYROGtZDmYqhRw==
|
|
|
653b37 |
-----END CERTIFICATE-----
|
|
|
653b37 |
--
|
|
|
653b37 |
1.9.1
|
|
|
653b37 |
|