directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject directory-kerby git commit: Updating the keys
Date Thu, 29 Sep 2016 15:34:47 GMT
Repository: directory-kerby
Updated Branches:
  refs/heads/trunk 58f3c9628 -> b474da4c3


Updating the keys


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/b474da4c
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/b474da4c
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/b474da4c

Branch: refs/heads/trunk
Commit: b474da4c3929fe74eefc081aa563f30d59aeaebc
Parents: 58f3c96
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Thu Sep 29 16:34:37 2016 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Thu Sep 29 16:34:37 2016 +0100

----------------------------------------------------------------------
 kerby-dist/README.md                            |  2 +-
 .../src/main/resources/cacerttest.pem           | 34 ++++++++++----------
 .../src/main/resources/kdccerttest.pem          | 34 ++++++++++----------
 .../src/test/resources/cacerttest.pem           | 34 ++++++++++----------
 .../src/test/resources/cakeytest.pem            | 27 ++++++++++++++++
 .../src/test/resources/kdccerttest.pem          | 34 ++++++++++----------
 .../src/test/resources/kdckeytest.pem           | 27 ++++++++++++++++
 .../src/test/resources/pkinit_extensions        | 21 ++++++++++++
 8 files changed, 144 insertions(+), 69 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/b474da4c/kerby-dist/README.md
----------------------------------------------------------------------
diff --git a/kerby-dist/README.md b/kerby-dist/README.md
index e22777c..8764ae4 100644
--- a/kerby-dist/README.md
+++ b/kerby-dist/README.md
@@ -139,7 +139,7 @@ princ2=GeneralString:${ENV::REALM}
 ```
 Then:
 ```
-openssl x509 -req -in kdc.req -CAkey cakey.pem -CA cacert.pem -out kdc.pem -extfile pkinit_extensions
-extensions kdc_cert -CAcreateserial
+openssl x509 -req -in kdc.req -CAkey cakey.pem -CA cacert.pem -out kdc.pem -extfile pkinit_extensions
-extensions kdc_cert -CAcreateserial -days 3650
 ```
 
 #### 6 . On the KDC, you must set the pkinit_identity variable to provide the KDC certificate.

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/b474da4c/kerby-kdc-test/src/main/resources/cacerttest.pem
----------------------------------------------------------------------
diff --git a/kerby-kdc-test/src/main/resources/cacerttest.pem b/kerby-kdc-test/src/main/resources/cacerttest.pem
index bc9051e..2e78047 100644
--- a/kerby-kdc-test/src/main/resources/cacerttest.pem
+++ b/kerby-kdc-test/src/main/resources/cacerttest.pem
@@ -1,23 +1,23 @@
 -----BEGIN CERTIFICATE-----
-MIIDyzCCArOgAwIBAgIJAJ9WHdl87hv5MA0GCSqGSIb3DQEBBQUAMHwxCzAJBgNV
+MIIDyzCCArOgAwIBAgIJAPcd7oex1wRpMA0GCSqGSIb3DQEBCwUAMHwxCzAJBgNV
 BAYTAkNOMQswCQYDVQQIDAJTSDELMAkGA1UEBwwCU0gxDjAMBgNVBAoMBUlOVEVM
 MQ4wDAYDVQQLDAVJTlRFTDEPMA0GA1UEAwwGSklBSklBMSIwIAYJKoZIhvcNAQkB
-FhNKSUFKSUEuTElASU5URUwuQ09NMB4XDTE1MDkxNTAyMTczNloXDTI1MDkxMjAy
-MTczNlowfDELMAkGA1UEBhMCQ04xCzAJBgNVBAgMAlNIMQswCQYDVQQHDAJTSDEO
+FhNKSUFKSUEuTElASU5URUwuQ09NMB4XDTE2MDkyOTE0NTEzM1oXDTI2MDkyNzE0
+NTEzM1owfDELMAkGA1UEBhMCQ04xCzAJBgNVBAgMAlNIMQswCQYDVQQHDAJTSDEO
 MAwGA1UECgwFSU5URUwxDjAMBgNVBAsMBUlOVEVMMQ8wDQYDVQQDDAZKSUFKSUEx
 IjAgBgkqhkiG9w0BCQEWE0pJQUpJQS5MSUBJTlRFTC5DT00wggEiMA0GCSqGSIb3
-DQEBAQUAA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AAITq+XgXLIIhRNgkxpqS1ZnQT0cjS8U7hM/T6pxzHU
+IFILA4XrndLl+hKy4irZ8lrYQVyJRP3iJYswBlOL3r+o3dlDOJxzsB4Y7x144Rso
+21+tEShcXrpOufYx0oPoaXkj0yfzVxy+PUN6rJfbYd2CADhbAgMBAAGjUDBOMB0G
+A1UdDgQWBBSoXNX6R8sLJii+v8Cl7yPGRATX5TAfBgNVHSMEGDAWgBSoXNX6R8sL
+Jii+v8Cl7yPGRATX5TAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQCC
+L5muhlw4eDwZ6yWFKL71/FtVteBeSLbw3u1MD1okRWDoykA3LQENZayQKpX9XpYg
+dfiDNUYGQV9BsmpjOVKh+9RWcOu2NnRJbvgmtt4EcsBdcLvtxxsfAPRglmkjjREH
+H0J76mi7Xm1QFONtW0ORsVE1N+0/Dii0bVKAMc1M8NlRNqGkMZy705tkq3fgzsdO
+nUfoKKB+sr2eNkUUeF1T2l6FH0VzzK+uFHxne0+aNLuCx32EcQjY+7B8XXZVyEau
+N2OBKhJfg6drNKzhxBD4pAOCEpjotsqxpfzL8qszjiw0zHwWuGMRz8vSPG00BRW8
+ki+X5THeigBVOkeSTftf
 -----END CERTIFICATE-----

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/b474da4c/kerby-kdc-test/src/main/resources/kdccerttest.pem
----------------------------------------------------------------------
diff --git a/kerby-kdc-test/src/main/resources/kdccerttest.pem b/kerby-kdc-test/src/main/resources/kdccerttest.pem
index f1d6bb2..7cf3af7 100644
--- a/kerby-kdc-test/src/main/resources/kdccerttest.pem
+++ b/kerby-kdc-test/src/main/resources/kdccerttest.pem
@@ -1,25 +1,25 @@
 -----BEGIN CERTIFICATE-----
-MIIEQDCCAyigAwIBAgIJAJV7O31Zn93hMA0GCSqGSIb3DQEBBQUAMHwxCzAJBgNV
+MIIEQDCCAyigAwIBAgIJAMvJT/G+urmdMA0GCSqGSIb3DQEBCwUAMHwxCzAJBgN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LVttwCVxF8fznLJbxFnmRfPcIIYI5GR
+QNjkkjRaUyUQoc4R8p+oSs8JRcAodRYJHAifQ3e3Y9pUUBeHF1Yily/p0hgehgm4
+JSJRbZxav9uITAiAAT9Anngd/StXJQgfvQ/d8n/v1Z4HXVhzRtHW164GOa7IGU0j
+JSctABtVYUHz6Fvk2vOJ+Iy2kPQcc8pQpBeY4X5rhd7E4Th8/Zq/1fQAWhjw9siq
+QsLaQssXfAiY5BmbtfE3s6ng9FdWkhr3hUH1Yqjst+kGlysGhSaJQDwPGaLt2pyp
+eDtNqAf9GpYZY8P2IFJPGRKk6X0TNEqDYYkzLIjYwbVgMZ4I
 -----END CERTIFICATE-----

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/b474da4c/kerby-kerb/kerb-common/src/test/resources/cacerttest.pem
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-common/src/test/resources/cacerttest.pem b/kerby-kerb/kerb-common/src/test/resources/cacerttest.pem
index bc9051e..2e78047 100644
--- a/kerby-kerb/kerb-common/src/test/resources/cacerttest.pem
+++ b/kerby-kerb/kerb-common/src/test/resources/cacerttest.pem
@@ -1,23 +1,23 @@
 -----BEGIN CERTIFICATE-----
-MIIDyzCCArOgAwIBAgIJAJ9WHdl87hv5MA0GCSqGSIb3DQEBBQUAMHwxCzAJBgNV
+MIIDyzCCArOgAwIBAgIJAPcd7oex1wRpMA0GCSqGSIb3DQEBCwUAMHwxCzAJBgNV
 BAYTAkNOMQswCQYDVQQIDAJTSDELMAkGA1UEBwwCU0gxDjAMBgNVBAoMBUlOVEVM
 MQ4wDAYDVQQLDAVJTlRFTDEPMA0GA1UEAwwGSklBSklBMSIwIAYJKoZIhvcNAQkB
-FhNKSUFKSUEuTElASU5URUwuQ09NMB4XDTE1MDkxNTAyMTczNloXDTI1MDkxMjAy
-MTczNlowfDELMAkGA1UEBhMCQ04xCzAJBgNVBAgMAlNIMQswCQYDVQQHDAJTSDEO
+FhNKSUFKSUEuTElASU5URUwuQ09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mdIigyiEodBTqZ4rF
-t2LR/VCE4aO+A3KKE/OT
+DQEBAQUAA4IBDwAwggEKAoIBAQDLJDLmZ45nnjEFqpaLskmnOMRw2YGGmXy62vDd
+o+UK7+RNbnDZEM4EH0TGYQFNcaSYxncf1WFd5572uirGftCfgukDsbY2bbhMzcfE
+6LlXdnoGK882RJHj/J4jE4lKm841PQJLGG8W/br1pva+MK2fZuL7DDXGE51fXLu3
++eVVq1bYEb4L4eNervYe/AAITq+XgXLIIhRNgkxpqS1ZnQT0cjS8U7hM/T6pxzHU
+IFILA4XrndLl+hKy4irZ8lrYQVyJRP3iJYswBlOL3r+o3dlDOJxzsB4Y7x144Rso
+21+tEShcXrpOufYx0oPoaXkj0yfzVxy+PUN6rJfbYd2CADhbAgMBAAGjUDBOMB0G
+A1UdDgQWBBSoXNX6R8sLJii+v8Cl7yPGRATX5TAfBgNVHSMEGDAWgBSoXNX6R8sL
+Jii+v8Cl7yPGRATX5TAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQCC
+L5muhlw4eDwZ6yWFKL71/FtVteBeSLbw3u1MD1okRWDoykA3LQENZayQKpX9XpYg
+dfiDNUYGQV9BsmpjOVKh+9RWcOu2NnRJbvgmtt4EcsBdcLvtxxsfAPRglmkjjREH
+H0J76mi7Xm1QFONtW0ORsVE1N+0/Dii0bVKAMc1M8NlRNqGkMZy705tkq3fgzsdO
+nUfoKKB+sr2eNkUUeF1T2l6FH0VzzK+uFHxne0+aNLuCx32EcQjY+7B8XXZVyEau
+N2OBKhJfg6drNKzhxBD4pAOCEpjotsqxpfzL8qszjiw0zHwWuGMRz8vSPG00BRW8
+ki+X5THeigBVOkeSTftf
 -----END CERTIFICATE-----

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/b474da4c/kerby-kerb/kerb-common/src/test/resources/cakeytest.pem
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-common/src/test/resources/cakeytest.pem b/kerby-kerb/kerb-common/src/test/resources/cakeytest.pem
new file mode 100644
index 0000000..7c5b2f1
--- /dev/null
+++ b/kerby-kerb/kerb-common/src/test/resources/cakeytest.pem
@@ -0,0 +1,27 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIEogIBAAKCAQEAyyQy5meOZ54xBaqWi7JJpzjEcNmBhpl8utrw3aPlCu/kTW5w
+2RDOBB9ExmEBTXGkmMZ3H9VhXeee9roqxn7Qn4LpA7G2Nm24TM3HxOi5V3Z6BivP
+NkSR4/yeIxOJSpvONT0CSxhvFv269ab2vjCtn2bi+ww1xhOdX1y7t/nlVatW2BG+
+C+HjXq72HvwACE6vl4FyyCIUTYJMaaktWZ0E9HI0vFO4TP0+qccx1CBSCwOF653S
+5foSsuIq2fJa2EFciUT94iWLMAZTi96/qN3ZQzicc7AeGO8deOEbKNtfrREoXF66
+Trn2MdKD6Gl5I9Mn81ccvj1DeqyX22HdggA4WwIDAQABAoIBAGfc5jlvkRvhgecH
+xVk/mvDo0WdxjgwnxeIztxtbhOwGo5ADe6dANFVfN2bGikfyZtnF/3pDOzksB9bW
+cLB0fm5QHJtK7YL+rlB2lkFTTBAv/0vQcm2ouX771k7Q2k1PRCtsOhPzNjlnGYQo
+DdhIQz1Q+ZSqNYRE2x266C+0kVEvFA0ZlBESV4xaSaXwcfi8Ys9X8uN4ihJpqVxQ
+MGxUqmdVoJLl8gZLTrQ6MyxFOORBxh3KTVfaOtkgvqaah147/+0BxoK5wNCkhB5J
+ZHzzBauBW9lZYn+g50niVlOLgB/pYwehj0kXy4k7z2Yif8rleqQpCLNPm0pQz0zf
+Kk722GECgYEA70ocNYtavfpWId36z1B3MnZkH6hfIQR5JTIu9yPWttNeaEa8KHb+
+IY/sGDN2Y0AyiFtY7q4rmjZSZIy+jFqh6eZp81xAZqNhvqFYlISmBhW3hkVwZivA
+fDYUzz3WwA9Ic0ko4AUJ/TO07Mjc/BioWGTt9qRvbJmvIh4S0QE5488CgYEA2VPa
+NCrKAZ3JFz1KeTpIp8sBntNGSOwLS0r2dmmQtn28D97SKyt+LImLloHDxw2ZkTtu
+hUhXuZWAZ5n9hGhjeQvJA7RQQjRoCWtiLaj5T1qOkYe4ANWn1rBXvVeFrirWOQ4p
+2db5AYLPv+APunVSjrIbbbMugstC4SzVXZ+KKbUCgYBl4xdp0SFdHPeJyhveJDPs
+v65YMHf49g+jP9/xiUgGZq+fFOdPD4ObxM1RbLAvCIm7t7GBR5X3PsQMXkVQO9MP
+ZfWdEp21VkHrSoYODwEmPB79xBlc16pI+ToZGAqVkqxVskP+Rwb+0gJqhAhcKx+b
+K7aLO27aPgHtNALtDWmZzwKBgEKxiPUZbISyd1O6a3BogoN7uTOUgq0+QvkIODp+
+ivp1+5CjQLwezMm+LCg0CnC7q7T2GCSu3r0FNDKW/0XzAxPSmg2Y+EhY7NR3L9nz
+UQ8ZK0dd7wnSh39K/qIMiem5G6TGw/EmF6RvEHJBwJHoDz3bSq+PnWZmGlAgAhqJ
+K01BAoGAHOEVbLTVzLl8Jxb6Ir8p7CDFeam6KTDqtm0gW2dGBEcbRWdY2MY3CleU
+w1GnvzAi9vgjilR0cDaZ3GJgzJ5dn5TuuhpPqbiGHa5sBiIDjTADHVEHrWmAAglo
+UQTanUr4k7QbCp1Ngaf+C1Jt7q96VOvwaJqY5U6T6ZEv5m6+Ahg=
+-----END RSA PRIVATE KEY-----

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/b474da4c/kerby-kerb/kerb-common/src/test/resources/kdccerttest.pem
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-common/src/test/resources/kdccerttest.pem b/kerby-kerb/kerb-common/src/test/resources/kdccerttest.pem
index f1d6bb2..7cf3af7 100644
--- a/kerby-kerb/kerb-common/src/test/resources/kdccerttest.pem
+++ b/kerby-kerb/kerb-common/src/test/resources/kdccerttest.pem
@@ -1,25 +1,25 @@
 -----BEGIN CERTIFICATE-----
-MIIEQDCCAyigAwIBAgIJAJV7O31Zn93hMA0GCSqGSIb3DQEBBQUAMHwxCzAJBgNV
+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2ilzhbJ/35VDa3phmvVV73QHHH5gj
+MA0GCSqGSIb3DQEBCwUAA4IBAQBY8jXegLVttwCVxF8fznLJbxFnmRfPcIIYI5GR
+QNjkkjRaUyUQoc4R8p+oSs8JRcAodRYJHAifQ3e3Y9pUUBeHF1Yily/p0hgehgm4
+JSJRbZxav9uITAiAAT9Anngd/StXJQgfvQ/d8n/v1Z4HXVhzRtHW164GOa7IGU0j
+JSctABtVYUHz6Fvk2vOJ+Iy2kPQcc8pQpBeY4X5rhd7E4Th8/Zq/1fQAWhjw9siq
+QsLaQssXfAiY5BmbtfE3s6ng9FdWkhr3hUH1Yqjst+kGlysGhSaJQDwPGaLt2pyp
+eDtNqAf9GpYZY8P2IFJPGRKk6X0TNEqDYYkzLIjYwbVgMZ4I
 -----END CERTIFICATE-----

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/b474da4c/kerby-kerb/kerb-common/src/test/resources/kdckeytest.pem
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-common/src/test/resources/kdckeytest.pem b/kerby-kerb/kerb-common/src/test/resources/kdckeytest.pem
new file mode 100644
index 0000000..9fe020a
--- /dev/null
+++ b/kerby-kerb/kerb-common/src/test/resources/kdckeytest.pem
@@ -0,0 +1,27 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIEowIBAAKCAQEA1MLC7Ybdx2jskHc+IJYlEoGuH6yQYu/1D/5OShQcc3OGBqmb
+vLBoCizs2FqBb3FouACPlewePVPDEwytWxAc5oePwpCwoN+oC3oaJEg1Pei01EeO
+oMj/Smvsyce3TsYxYAyL7jPvetjYklfw6wt4fYAvHsThEMiZpFzD6hbQ4PNPYtsQ
+RrH4iVz7FsQ0UfLtFRmNODJj8NXYH9kedEHuKJWbqdUl5yfH9Uf8PkfuCxM+naog
+0+5YnGzo/sJgI6Si0Yn3oNDX3D/++7UC6t29bwo67zrzGZ4b/fCirZuCYg+c5mjG
+2yrYtQSVL3oLiyMrQ3SHNsI5CnkcmmKgSOMW2wIDAQ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EwChAQKBgHFSuzEBFu3VI4DtHObyV87E04MUC4RQxBp+K48HdO/zEy4M4/KtgFvr
+8LP8XhmDwwOSh34FI3qVqerePLEpqfEr89iDZ0zCmVR2O4vnhV8oXTVIinqXHWI0
+Qv//YHOKDRJ+jjU2dKm4KzACvwvuESEg/24siix9XZ3nZ8LvaGoC
+-----END RSA PRIVATE KEY-----

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/b474da4c/kerby-kerb/kerb-common/src/test/resources/pkinit_extensions
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-common/src/test/resources/pkinit_extensions b/kerby-kerb/kerb-common/src/test/resources/pkinit_extensions
new file mode 100644
index 0000000..966fcf8
--- /dev/null
+++ b/kerby-kerb/kerb-common/src/test/resources/pkinit_extensions
@@ -0,0 +1,21 @@
+[kdc_cert]
+basicConstraints=CA:FALSE
+keyUsage=nonRepudiation,digitalSignature,keyEncipherment,keyAgreement
+extendedKeyUsage=1.3.6.1.5.2.3.5
+subjectKeyIdentifier=hash
+authorityKeyIdentifier=keyid,issuer
+issuerAltName=issuer:copy
+subjectAltName=otherName:1.3.6.1.5.2.2;SEQUENCE:kdc_princ_name
+
+[kdc_princ_name]
+realm=EXP:0,GeneralString:EXAMPLE.COM
+principal_name=EXP:1,SEQUENCE:kdc_principal_seq
+
+[kdc_principal_seq]
+name_type=EXP:0,INTEGER:1
+name_string=EXP:1,SEQUENCE:kdc_principals
+
+[kdc_principals]
+princ1=GeneralString:krbtgt
+princ2=GeneralString:EXAMPLE.COM
+


Mime
View raw message