-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test credential generation, fix key usage in test credentials
- Loading branch information
Showing
28 changed files
with
936 additions
and
535 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
150 changes: 150 additions & 0 deletions
150
src/test/java/com/siemens/pki/cmpracomponent/test/TestCreateTestCertificateChains.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
/* | ||
* Copyright (c) 2023 Siemens AG | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
* not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
package com.siemens.pki.cmpracomponent.test; | ||
|
||
import com.siemens.pki.cmpracomponent.cryptoservices.KeyPairGeneratorFactory; | ||
import com.siemens.pki.cmpracomponent.test.framework.TestCertificateFactory; | ||
import java.io.File; | ||
import java.io.FileNotFoundException; | ||
import java.io.FileOutputStream; | ||
import java.io.FileWriter; | ||
import java.io.IOException; | ||
import java.io.OutputStream; | ||
import java.security.GeneralSecurityException; | ||
import java.security.KeyPair; | ||
import java.security.KeyPairGenerator; | ||
import java.security.KeyStore; | ||
import java.security.KeyStoreException; | ||
import java.security.NoSuchAlgorithmException; | ||
import java.security.cert.Certificate; | ||
import java.security.cert.CertificateException; | ||
import java.security.cert.X509Certificate; | ||
import org.bouncycastle.asn1.x509.Extension; | ||
import org.bouncycastle.asn1.x509.KeyPurposeId; | ||
import org.bouncycastle.openssl.jcajce.JcaPEMWriter; | ||
import org.bouncycastle.operator.OperatorCreationException; | ||
import org.junit.Test; | ||
|
||
/** | ||
* initial creation of test credentials | ||
* | ||
*/ | ||
public class TestCreateTestCertificateChains { | ||
|
||
private static final char[] STORE_PASSWORD = "Password".toCharArray(); | ||
private static final File CREDENTIAL_ROOT = | ||
new File("src/test/java/com/siemens/pki/cmpracomponent/test/config/credentials"); | ||
|
||
private void createEnrollTestCertificateChain( | ||
final String subjectPrefix, KeyPairGenerator keyPairGenerator, String signatureAlgorithm) | ||
throws GeneralSecurityException, CertificateException, OperatorCreationException, NoSuchAlgorithmException, | ||
IOException, KeyStoreException, FileNotFoundException { | ||
final KeyPair rootKeypair = keyPairGenerator.generateKeyPair(); | ||
final X509Certificate rootCert = | ||
TestCertificateFactory.createRootCertificate(subjectPrefix, rootKeypair, signatureAlgorithm); | ||
|
||
final KeyPair issuerKeypair = keyPairGenerator.generateKeyPair(); | ||
final X509Certificate issuerCert = TestCertificateFactory.createIssuerCertificate( | ||
subjectPrefix, rootCert, rootKeypair.getPrivate(), issuerKeypair.getPublic(), signatureAlgorithm); | ||
|
||
try (JcaPEMWriter pw = | ||
new JcaPEMWriter(new FileWriter(new File(CREDENTIAL_ROOT, subjectPrefix + "_Chain.pem")))) { | ||
pw.writeObject(rootCert); | ||
pw.writeObject(issuerCert); | ||
} | ||
try (JcaPEMWriter pw = | ||
new JcaPEMWriter(new FileWriter(new File(CREDENTIAL_ROOT, subjectPrefix + "_Root.pem")))) { | ||
pw.writeObject(rootCert); | ||
} | ||
final KeyStore keystore = KeyStore.getInstance("PKCS12"); | ||
keystore.load(null, STORE_PASSWORD); | ||
keystore.setKeyEntry( | ||
"cert", issuerKeypair.getPrivate(), STORE_PASSWORD, new Certificate[] {issuerCert, rootCert}); | ||
try (final OutputStream ksout = | ||
new FileOutputStream(new File(CREDENTIAL_ROOT, subjectPrefix + "_Keystore.p12"))) { | ||
keystore.store(ksout, STORE_PASSWORD); | ||
} | ||
} | ||
|
||
private void createFullTestCertificateChain( | ||
final String subjectPrefix, | ||
KeyPairGenerator keyPairGenerator, | ||
String signatureAlgorithm, | ||
Extension... eeExtensions) | ||
throws GeneralSecurityException, CertificateException, OperatorCreationException, NoSuchAlgorithmException, | ||
IOException, KeyStoreException, FileNotFoundException { | ||
final KeyPair rootKeypair = keyPairGenerator.generateKeyPair(); | ||
final X509Certificate rootCert = | ||
TestCertificateFactory.createRootCertificate(subjectPrefix, rootKeypair, signatureAlgorithm); | ||
|
||
final KeyPair issuerKeypair = keyPairGenerator.generateKeyPair(); | ||
final X509Certificate issuerCert = TestCertificateFactory.createIssuerCertificate( | ||
subjectPrefix, rootCert, rootKeypair.getPrivate(), issuerKeypair.getPublic(), signatureAlgorithm); | ||
|
||
final KeyPair eeKeypair = keyPairGenerator.generateKeyPair(); | ||
final X509Certificate eeCert = TestCertificateFactory.createEndEntityCertificate( | ||
subjectPrefix, | ||
issuerCert, | ||
issuerKeypair.getPrivate(), | ||
eeKeypair.getPublic(), | ||
signatureAlgorithm, | ||
eeExtensions); | ||
try (JcaPEMWriter pw = | ||
new JcaPEMWriter(new FileWriter(new File(CREDENTIAL_ROOT, subjectPrefix + "_Chain.pem")))) { | ||
pw.writeObject(rootCert); | ||
pw.writeObject(issuerCert); | ||
pw.writeObject(eeCert); | ||
} | ||
try (JcaPEMWriter pw = | ||
new JcaPEMWriter(new FileWriter(new File(CREDENTIAL_ROOT, subjectPrefix + "_Root.pem")))) { | ||
pw.writeObject(rootCert); | ||
} | ||
final KeyStore keystore = KeyStore.getInstance("PKCS12", "SUN"); | ||
keystore.load(null, STORE_PASSWORD); | ||
keystore.setKeyEntry( | ||
"cert", eeKeypair.getPrivate(), STORE_PASSWORD, new Certificate[] {eeCert, issuerCert, rootCert}); | ||
try (final OutputStream ksout = | ||
new FileOutputStream(new File(CREDENTIAL_ROOT, subjectPrefix + "_Keystore.p12"))) { | ||
keystore.store(ksout, STORE_PASSWORD); | ||
} | ||
} | ||
|
||
@Test | ||
// @Ignore("execute if test credentials need a refresh") | ||
public void createTestCertificateChains() throws OperatorCreationException, IOException, GeneralSecurityException { | ||
final KeyPairGenerator keyPairGenerator = KeyPairGeneratorFactory.getEcKeyPairGenerator("secp521r1"); | ||
createEnrollTestCertificateChain("ENROLL", keyPairGenerator, "SHA512WITHECDSA"); | ||
createFullTestCertificateChain("CMP_CA", keyPairGenerator, "SHA512WITHECDSA"); | ||
createFullTestCertificateChain( | ||
"CMP_LRA_UPSTREAM", | ||
keyPairGenerator, | ||
"SHA512WITHECDSA", | ||
TestCertificateFactory.createExtendedKeyUsageExtension( | ||
KeyPurposeId.id_kp_cmcRA, KeyPurposeId.anyExtendedKeyUsage)); | ||
createFullTestCertificateChain( | ||
"CMP_LRA_DOWNSTREAM", | ||
keyPairGenerator, | ||
"SHA512WITHECDSA", | ||
TestCertificateFactory.createExtendedKeyUsageExtension( | ||
KeyPurposeId.id_kp_cmKGA, KeyPurposeId.anyExtendedKeyUsage)); | ||
createFullTestCertificateChain("CMP_EE", keyPairGenerator, "SHA512WITHECDSA"); | ||
// createTestCertificateChain("TLS", keyPairGenerator, "SHA512WITHECDSA", TestCertificateFactory | ||
// .createExtendedKeyUsageExtension(KeyPurposeId.id_kp_clientAuth, KeyPurposeId.id_kp_serverAuth), | ||
// TestCertificateFactory.createSubjectAlternativeNameExtension("localhost")); | ||
} | ||
} |
114 changes: 46 additions & 68 deletions
114
src/test/java/com/siemens/pki/cmpracomponent/test/config/credentials/CMP_CA_Chain.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,52 @@ | ||
|
||
Subject: CN=CMPCA-ENDENTITY | ||
Issuer: CN=CMPCA-INTERMEDIATE-2 | ||
Valid from Thu Sep 03 10:45:37 CEST 2020 to Sun Sep 01 10:45:37 CEST 2030 | ||
Serial: 1599122797384 | ||
-----BEGIN CERTIFICATE----- | ||
MIIB0TCCAXagAwIBAgIGAXRTJXNIMAoGCCqGSM49BAMCMB8xHTAbBgNVBAMMFENN | ||
UENBLUlOVEVSTUVESUFURS0yMB4XDTIwMDkwMzA4NDUzN1oXDTMwMDkwMTA4NDUz | ||
N1owGjEYMBYGA1UEAwwPQ01QQ0EtRU5ERU5USVRZMFkwEwYHKoZIzj0CAQYIKoZI | ||
zj0DAQcDQgAEzmAAW5Xw+hVVozl47pVtNilogVHP6E+82fXXdpWxFdTq0ANrO2qM | ||
+AgdGbb33HGZ4ZNXF18OcTh05hw1sc7FSqOBojCBnzAdBgNVHQ4EFgQUTm6rZvFX | ||
aybWOpCqC4mdBhp4Fn0wTAYDVR0jBEUwQ4AU/jIZUwTiUaEspX+iT/03/lCY/1eh | ||
I6QhMB8xHTAbBgNVBAMMFENNUENBLUlOVEVSTUVESUFURS0xggYBdFMlc0MwDgYD | ||
VR0PAQH/BAQDAgKMMCAGA1UdJQEB/wQWMBQGCCsGAQUFBwMgBggrBgEFBQcDGzAK | ||
BggqhkjOPQQDAgNJADBGAiEA0zfLMwM2m38lu8EergpFCOvKsi+vDnz40EP0Tsfb | ||
jegCIQCJFg5b4s9kVX/TQkgfmtnXZ2vCEsSmmhCiClytjzyUhg== | ||
MIICfzCCAeCgAwIBAgIHAKqqAAAAAzAKBggqhkjOPQQDBDBOMQswCQYDVQQGEwJE | ||
RTEQMA4GA1UEChMHU2llbWVuczEXMBUGA1UECxMOVGVzdERlcGFydG1lbnQxFDAS | ||
BgNVBAMMC0NNUF9DQV9ST09UMB4XDTIzMDkyMDA1NTkyMFoXDTM1MDkyMDA2NTky | ||
MFowTjELMAkGA1UEBhMCREUxEDAOBgNVBAoTB1NpZW1lbnMxFzAVBgNVBAsTDlRl | ||
c3REZXBhcnRtZW50MRQwEgYDVQQDDAtDTVBfQ0FfUk9PVDCBmzAQBgcqhkjOPQIB | ||
BgUrgQQAIwOBhgAEAVt8DcHzPAvF0d5LMnqg+ScOy74e/d6CDDzjZRgzeE9pE3te | ||
wFzSNMSACpuLOo3ADUmwpwUYyTiMU7lZNLpKywc9Ads7aaye43TPUcdBjZz9YagT | ||
DtISNa+F8DZChu14D0q1sSm7OPbNP1PEcI278BaDfahzLH5tm+zSUhTM2BCd0O0e | ||
o2YwZDAfBgNVHSMEGDAWgBREvfNr11lt/ynL9nE9tvmYxl85iDAdBgNVHQ4EFgQU | ||
RL3za9dZbf8py/ZxPbb5mMZfOYgwEgYDVR0TAQH/BAgwBgEB/wIBATAOBgNVHQ8B | ||
Af8EBAMCAYYwCgYIKoZIzj0EAwQDgYwAMIGIAkIBmG0agTG1Btvq8Gp8g4ZZji8X | ||
g/3w1aWK3J/qsoTK9jS3FXevE7j4Em9D7qSRFfZ8yWw2rpVpT8VZDaIU8CMnMFAC | ||
QgD1UY012S8iO7xkmdXt2AUks/g4HoLDyN1HSqgwubrSIQhfAPKbikwNyTrTtPbT | ||
9XeUFZXify3HKhrNmFHBZJL2aA== | ||
-----END CERTIFICATE----- | ||
|
||
Subject: CN=CMPCA-INTERMEDIATE-2 | ||
Issuer: CN=CMPCA-INTERMEDIATE-1 | ||
Valid from Thu Sep 03 10:45:37 CEST 2020 to Sun Sep 01 10:45:37 CEST 2030 | ||
Serial: 1599122797379 | ||
-----BEGIN CERTIFICATE----- | ||
MIIBzTCCAXOgAwIBAgIGAXRTJXNDMAoGCCqGSM49BAMCMB8xHTAbBgNVBAMMFENN | ||
UENBLUlOVEVSTUVESUFURS0xMB4XDTIwMDkwMzA4NDUzN1oXDT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9SmagMboH | ||
yaujgcQwgcEwfAYDVR0jBHUwc4AURL3za9dZbf8py/ZxPbb5mMZfOYihUqRQME4x | ||
CzAJBgNVBAYTAkRFMRAwDgYDVQQKEwdTaWVtZW5zMRcwFQYDVQQLEw5UZXN0RGVw | ||
YXJ0bWVudDEUMBIGA1UEAwwLQ01QX0NBX1JPT1SCBwCqqgAAAAMwHQYDVR0OBBYE | ||
FFn3gIPBvmfU7AhKwRmzGqEV47hXMA4GA1UdDwEB/wQEAwIBhjASBgNVHRMBAf8E | ||
CDAGAQH/AgEAMAoGCCqGSM49BAMEA4GMADCBiAJCAdaECb4LFysHpEVSGn3sDxGV | ||
4u6qA3ihRVZD1OvN7MgyT8LVG7QtYAVMYv6ah+L4OiajoWHw9R4rjGVUaBc6vbdG | ||
AkIBzoGkCVlTHrSVOhR5OaJ/EmZL3+KZBJdSrUdWUV2s+uwkmotfOSaG+QEl5vpp | ||
FPyJCqc6fz2Qu4INr4b2tgHKz0U= | ||
-----END CERTIFICATE----- | ||
|
||
Subject: CN=CMPCA-INTERMEDIATE-1 | ||
Issuer: CN=Upstream-CMPPEERTRUST-ROOT | ||
Valid from Thu Sep 03 10:45:37 CEST 2020 to Sun Sep 01 10:45:37 CEST 2030 | ||
Serial: 1599122797368 | ||
-----BEGIN CERTIFICATE----- | ||
MIIB0jCCAXmgAwIBAgIGAXRTJXM4MAoGCCqGSM49BAMCMCUxIzAhBgNVBAMMGlVw | ||
c3RyZWFtLUNNUFBFRVJUUlVTVC1ST09UMB4XDTIwMDkwMzA4NDUzN1oXDTMwMDkw | ||
MTA4NDUzN1owHzEdMBsGA1UEAwwUQ01QQ0EtSU5URVJNRURJQVRFLTEwWTATBgcq | ||
hkjOPQIBBggqhkjOPQMBBwNCAAQgwyNV3hC/2Lq9/iBrKPwUaP50JxXT00P3NNnt | ||
wJYtrlgVr3Vb0uASREQ3gSMe7hMpwroGV2ajQdDScAwTeBc3o4GaMIGXMB0GA1Ud | ||
DgQWBBQwS8rq1t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8nxYGEoPNyzTSifAISrrIT7gAwDAYDVR0TAQH/BAIwADAOBgNVHQ8B | ||
Af8EBAMCA4gwCgYIKoZIzj0EAwQDgYsAMIGHAkIAzbyTyTyrC6IiX8z1v1+eCsfH | ||
QEcrRvN+sxgEEfZwGsde6rfyP5S0Y6U2qF/viu6azTtSyC3Nt8g6WRlHBrQaJrYC | ||
QTNWShd62Rb61B38IM+4RGuz4k8Qpbu47oWRa4i+uvUPMrmqgX2bd7S8LUVI7+GF | ||
hxhhb5ka8lrT8Bi/gxqM0GmK | ||
-----END CERTIFICATE----- | ||
|
||
Subject: CN=Upstream-CMPPEERTRUST-ROOT | ||
Issuer: CN=Upstream-CMPPEERTRUST-ROOT | ||
Valid from Thu Sep 03 10:45:37 CEST 2020 to Sun Sep 01 10:45:37 CEST 2030 | ||
Serial: 1599122797194 | ||
-----BEGIN CERTIFICATE----- | ||
MIIBgzCCASmgAwIBAgIGAXRTJXKKMAoGCCqGSM49BAMCMCUxIzAhBgNVBAMMGlVw | ||
c3RyZWFtLUNNUFBFRVJUUlVTVC1ST09UMB4XDTIwMDkwMzA4NDUzN1oXDTMwMDkw | ||
MTA4NDUzN1owJTEjMCEGA1UEAwwaVXBzdHJlYW0tQ01QUEVFUlRSVVNULVJPT1Qw | ||
WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAT3DcHcFxBWdbgPOM4lNOvvMTCXEwTM | ||
pbOS8O0lQRTZgko+WHg6mP/Kc4ABAyDls6BMpVYWAQ//zWF9ol6PRUp+o0UwQzAd | ||
BgNVHQ4EFgQUztSvUQ3u18QLEreXLG+Pau3P7LkwEgYDVR0TAQH/BAgwBgEB/wIB | ||
CjAOBgNVHQ8BAf8EBAMCAYYwCgYIKoZIzj0EAwIDSAAwRQIgbpHip5BQE4d+ImJN | ||
SoZ+ye9yrWsDdpVssNIFZCZmjBsCIQCaJ6s6RIjUw3baGm+gddomhSGYz9SVwaJh | ||
85h9Fm5ZCg== | ||
-----END CERTIFICATE----- | ||
|
||
Privat Key for CN=CMPCA-ENDENTITY | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEILYbUs0+pXAaZ5c18e8/sb9oRbaYsrWf+AKBUSJFYx9boAoGCCqGSM49 | ||
AwEHoUQDQgAEzmAAW5Xw+hVVozl47pVtNilogVHP6E+82fXXdpWxFdTq0ANrO2qM | ||
+AgdGbb33HGZ4ZNXF18OcTh05hw1sc7FSg== | ||
-----END EC PRIVATE KEY----- |
Binary file removed
BIN
-2.06 KB
src/test/java/com/siemens/pki/cmpracomponent/test/config/credentials/CMP_CA_Keystore.jks
Binary file not shown.
Binary file modified
BIN
-20 Bytes
(99%)
src/test/java/com/siemens/pki/cmpracomponent/test/config/credentials/CMP_CA_Keystore.p12
Binary file not shown.
Oops, something went wrong.