puppet 6.22.1 → 6.23.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of puppet might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +14 -14
- data/ext/osx/puppet.plist +2 -0
- data/lib/puppet/application/agent.rb +12 -5
- data/lib/puppet/application/apply.rb +2 -1
- data/lib/puppet/application/device.rb +2 -1
- data/lib/puppet/application/resource.rb +2 -1
- data/lib/puppet/application/script.rb +2 -1
- data/lib/puppet/configurer/downloader.rb +2 -1
- data/lib/puppet/defaults.rb +5 -3
- data/lib/puppet/file_serving/fileset.rb +14 -2
- data/lib/puppet/functions/all.rb +1 -1
- data/lib/puppet/functions/camelcase.rb +1 -1
- data/lib/puppet/functions/capitalize.rb +2 -2
- data/lib/puppet/functions/downcase.rb +2 -2
- data/lib/puppet/functions/get.rb +5 -5
- data/lib/puppet/functions/group_by.rb +13 -5
- data/lib/puppet/functions/lest.rb +1 -1
- data/lib/puppet/functions/new.rb +100 -100
- data/lib/puppet/functions/partition.rb +4 -4
- data/lib/puppet/functions/require.rb +5 -5
- data/lib/puppet/functions/sort.rb +3 -3
- data/lib/puppet/functions/tree_each.rb +7 -9
- data/lib/puppet/functions/type.rb +4 -4
- data/lib/puppet/functions/upcase.rb +2 -2
- data/lib/puppet/http/resolver/server_list.rb +15 -4
- data/lib/puppet/http/service/compiler.rb +69 -0
- data/lib/puppet/http/service/file_server.rb +2 -1
- data/lib/puppet/indirector/catalog/compiler.rb +1 -0
- data/lib/puppet/indirector/file_metadata/rest.rb +1 -0
- data/lib/puppet/parser/functions/fqdn_rand.rb +14 -6
- data/lib/puppet/pops/types/p_sem_ver_type.rb +8 -2
- data/lib/puppet/pops/types/p_sensitive_type.rb +10 -0
- data/lib/puppet/provider/package/nim.rb +11 -6
- data/lib/puppet/provider/service/systemd.rb +13 -3
- data/lib/puppet/provider/service/windows.rb +38 -0
- data/lib/puppet/provider/user/directoryservice.rb +25 -12
- data/lib/puppet/reference/configuration.rb +1 -1
- data/lib/puppet/transaction/additional_resource_generator.rb +1 -1
- data/lib/puppet/type/file.rb +19 -1
- data/lib/puppet/type/file/selcontext.rb +1 -1
- data/lib/puppet/type/service.rb +18 -38
- data/lib/puppet/type/tidy.rb +21 -2
- data/lib/puppet/type/user.rb +38 -20
- data/lib/puppet/util/selinux.rb +30 -4
- data/lib/puppet/version.rb +1 -1
- data/locales/puppet.pot +109 -101
- data/man/man5/puppet.conf.5 +272 -252
- data/man/man8/puppet-agent.8 +1 -1
- data/man/man8/puppet-apply.8 +1 -1
- data/man/man8/puppet-catalog.8 +1 -1
- data/man/man8/puppet-config.8 +1 -1
- data/man/man8/puppet-describe.8 +1 -1
- data/man/man8/puppet-device.8 +1 -1
- data/man/man8/puppet-doc.8 +1 -1
- data/man/man8/puppet-epp.8 +1 -1
- data/man/man8/puppet-facts.8 +1 -1
- data/man/man8/puppet-filebucket.8 +1 -1
- data/man/man8/puppet-generate.8 +1 -1
- data/man/man8/puppet-help.8 +1 -1
- data/man/man8/puppet-key.8 +1 -1
- data/man/man8/puppet-lookup.8 +1 -1
- data/man/man8/puppet-man.8 +1 -1
- data/man/man8/puppet-module.8 +1 -1
- data/man/man8/puppet-node.8 +1 -1
- data/man/man8/puppet-parser.8 +1 -1
- data/man/man8/puppet-plugin.8 +1 -1
- data/man/man8/puppet-report.8 +1 -1
- data/man/man8/puppet-resource.8 +1 -1
- data/man/man8/puppet-script.8 +1 -1
- data/man/man8/puppet-ssl.8 +1 -1
- data/man/man8/puppet-status.8 +1 -1
- data/man/man8/puppet.8 +2 -2
- data/spec/fixtures/ssl/127.0.0.1-key.pem +107 -57
- data/spec/fixtures/ssl/127.0.0.1.pem +52 -31
- data/spec/fixtures/ssl/bad-basic-constraints.pem +57 -35
- data/spec/fixtures/ssl/bad-int-basic-constraints.pem +57 -35
- data/spec/fixtures/ssl/ca.pem +57 -35
- data/spec/fixtures/ssl/crl.pem +28 -18
- data/spec/fixtures/ssl/ec-key.pem +11 -11
- data/spec/fixtures/ssl/ec.pem +33 -24
- data/spec/fixtures/ssl/encrypted-ec-key.pem +12 -12
- data/spec/fixtures/ssl/encrypted-key.pem +108 -58
- data/spec/fixtures/ssl/intermediate-agent-crl.pem +28 -19
- data/spec/fixtures/ssl/intermediate-agent.pem +57 -36
- data/spec/fixtures/ssl/intermediate-crl.pem +31 -21
- data/spec/fixtures/ssl/intermediate.pem +57 -36
- data/spec/fixtures/ssl/pluto-key.pem +107 -57
- data/spec/fixtures/ssl/pluto.pem +52 -30
- data/spec/fixtures/ssl/request-key.pem +107 -57
- data/spec/fixtures/ssl/request.pem +47 -26
- data/spec/fixtures/ssl/revoked-key.pem +107 -57
- data/spec/fixtures/ssl/revoked.pem +52 -30
- data/spec/fixtures/ssl/signed-key.pem +107 -57
- data/spec/fixtures/ssl/signed.pem +52 -30
- data/spec/fixtures/ssl/tampered-cert.pem +52 -30
- data/spec/fixtures/ssl/tampered-csr.pem +47 -26
- data/spec/fixtures/ssl/unknown-127.0.0.1-key.pem +107 -57
- data/spec/fixtures/ssl/unknown-127.0.0.1.pem +50 -29
- data/spec/fixtures/ssl/unknown-ca-key.pem +107 -57
- data/spec/fixtures/ssl/unknown-ca.pem +55 -33
- data/spec/integration/application/resource_spec.rb +30 -0
- data/spec/lib/puppet/test_ca.rb +2 -2
- data/spec/unit/application/agent_spec.rb +7 -2
- data/spec/unit/configurer/downloader_spec.rb +6 -0
- data/spec/unit/configurer_spec.rb +23 -0
- data/spec/unit/file_serving/fileset_spec.rb +60 -0
- data/spec/unit/gettext/config_spec.rb +12 -0
- data/spec/unit/http/service/compiler_spec.rb +123 -0
- data/spec/unit/indirector/catalog/compiler_spec.rb +14 -10
- data/spec/unit/parser/functions/fqdn_rand_spec.rb +15 -1
- data/spec/unit/pops/types/p_sem_ver_type_spec.rb +18 -0
- data/spec/unit/pops/types/p_sensitive_type_spec.rb +18 -0
- data/spec/unit/provider/package/nim_spec.rb +42 -0
- data/spec/unit/provider/service/init_spec.rb +1 -0
- data/spec/unit/provider/service/openwrt_spec.rb +3 -1
- data/spec/unit/provider/service/systemd_spec.rb +42 -8
- data/spec/unit/provider/service/windows_spec.rb +202 -0
- data/spec/unit/provider/user/directoryservice_spec.rb +67 -35
- data/spec/unit/ssl/state_machine_spec.rb +19 -5
- data/spec/unit/transaction/additional_resource_generator_spec.rb +0 -2
- data/spec/unit/transaction_spec.rb +18 -20
- data/spec/unit/type/file/selinux_spec.rb +3 -3
- data/spec/unit/type/service_spec.rb +59 -188
- data/spec/unit/type/tidy_spec.rb +17 -7
- data/spec/unit/type/user_spec.rb +45 -0
- data/spec/unit/util/selinux_spec.rb +87 -16
- data/tasks/generate_cert_fixtures.rake +2 -2
- metadata +4 -2
@@ -1,26 +1,35 @@
|
|
1
1
|
Certificate:
|
2
2
|
Data:
|
3
3
|
Version: 3 (0x2)
|
4
|
-
Serial Number:
|
5
|
-
|
4
|
+
Serial Number: 10 (0xa)
|
5
|
+
Signature Algorithm: sha256WithRSAEncryption
|
6
6
|
Issuer: CN=Test CA
|
7
7
|
Validity
|
8
8
|
Not Before: Jan 1 00:00:00 1970 GMT
|
9
|
-
Not After : Apr
|
9
|
+
Not After : Apr 18 18:46:23 2031 GMT
|
10
10
|
Subject: CN=Test CA
|
11
11
|
Subject Public Key Info:
|
12
12
|
Public Key Algorithm: rsaEncryption
|
13
|
-
Public-Key: (
|
13
|
+
RSA Public-Key: (2048 bit)
|
14
14
|
Modulus:
|
15
|
-
00:
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
15
|
+
00:dd:a5:83:44:db:51:be:98:ef:b1:63:a7:04:b9:
|
16
|
+
ff:cd:71:d3:06:76:c4:25:68:e8:ea:ef:c5:b4:f9:
|
17
|
+
c2:76:aa:c0:1b:1b:0f:44:13:da:db:cf:d4:f4:88:
|
18
|
+
5c:cc:ac:f2:76:fb:9e:b6:2e:40:da:b8:c1:c8:cd:
|
19
|
+
24:90:63:10:6c:99:ee:0c:10:74:cc:38:b8:f3:b4:
|
20
|
+
d9:ed:1e:ac:07:29:b4:fe:f1:16:c2:18:7c:34:fd:
|
21
|
+
50:25:0f:f7:45:84:e0:4b:21:41:a4:5b:19:42:85:
|
22
|
+
a3:a8:d3:6a:ea:0f:80:f3:1a:06:f8:aa:31:4b:e5:
|
23
|
+
44:a8:37:80:d1:1b:01:ae:f3:b8:35:c6:3f:10:82:
|
24
|
+
84:fc:59:d9:47:d6:a9:e3:5e:f3:9f:89:23:6a:ed:
|
25
|
+
bc:92:6a:a1:49:2c:99:c3:89:b3:ab:3a:9f:6b:2d:
|
26
|
+
e6:39:95:15:e0:71:5f:6b:6a:23:2e:bc:cd:40:b2:
|
27
|
+
47:42:13:f4:f5:e7:43:76:5c:db:9d:10:3b:91:10:
|
28
|
+
cc:c7:27:db:a8:18:53:c9:50:eb:83:39:80:98:bf:
|
29
|
+
c0:cf:75:a8:31:56:2c:0f:32:44:b0:b8:2d:22:f9:
|
30
|
+
f6:a2:d6:0b:cf:5f:a2:89:7c:15:97:a9:01:5c:97:
|
31
|
+
6a:b9:9c:c2:aa:fd:a3:d9:aa:61:04:65:e4:13:7e:
|
32
|
+
58:7d
|
24
33
|
Exponent: 65537 (0x10001)
|
25
34
|
X509v3 extensions:
|
26
35
|
X509v3 Basic Constraints: critical
|
@@ -28,32 +37,45 @@ Certificate:
|
|
28
37
|
X509v3 Key Usage: critical
|
29
38
|
Certificate Sign, CRL Sign
|
30
39
|
X509v3 Subject Key Identifier:
|
31
|
-
|
40
|
+
61:DF:EE:CE:DA:49:6B:5E:F3:EF:94:FE:F9:DC:C7:C0:5A:74:FE:DB
|
32
41
|
Netscape Comment:
|
33
42
|
Puppet Server Internal Certificate
|
34
43
|
X509v3 Authority Key Identifier:
|
35
|
-
keyid:
|
44
|
+
keyid:61:DF:EE:CE:DA:49:6B:5E:F3:EF:94:FE:F9:DC:C7:C0:5A:74:FE:DB
|
36
45
|
|
37
46
|
Signature Algorithm: sha256WithRSAEncryption
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
47
|
+
86:10:78:cb:49:09:83:84:9c:7f:33:c8:fc:08:d6:db:02:b7:
|
48
|
+
d3:e7:6b:62:3a:fd:37:d6:b8:a7:5c:8c:42:fb:b0:d6:de:5c:
|
49
|
+
5b:47:2c:22:05:e3:9b:05:2d:96:23:96:2f:40:c7:22:aa:32:
|
50
|
+
5d:b9:73:31:44:c2:60:f1:e5:d8:a3:c1:38:68:ec:37:4e:b0:
|
51
|
+
da:5e:88:b6:64:6b:8d:c3:fc:bd:08:df:81:f9:16:5a:27:1b:
|
52
|
+
3e:7d:8c:ac:7c:59:52:b9:cd:f3:77:1a:dc:fe:4e:92:cd:2b:
|
53
|
+
29:1e:0b:ea:1a:90:a4:da:39:06:52:6f:15:db:58:58:b1:9f:
|
54
|
+
7a:3f:e2:a1:b2:8e:ce:32:e2:5c:f4:55:0d:21:0a:53:35:ce:
|
55
|
+
50:fd:98:6a:c1:1f:72:83:69:a3:43:0b:3b:f5:36:76:5e:c3:
|
56
|
+
cb:1d:47:51:a0:e4:1f:1f:2a:ce:8e:8c:da:41:ce:4b:ea:47:
|
57
|
+
2d:36:d5:2d:d5:e0:44:39:4d:07:1e:79:65:5c:69:46:1a:9a:
|
58
|
+
12:ba:ce:55:9c:73:ed:75:51:30:db:71:f9:34:87:08:ec:a0:
|
59
|
+
23:6e:c3:8e:da:81:4f:3d:3b:70:42:a6:f8:16:82:03:17:ca:
|
60
|
+
ba:73:4a:8d:34:36:c1:b6:2a:ef:85:89:26:2a:a2:34:db:fc:
|
61
|
+
c9:b8:1b:0b
|
46
62
|
-----BEGIN CERTIFICATE-----
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
63
|
+
MIIDNDCCAhygAwIBAgIBCjANBgkqhkiG9w0BAQs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B8fKs6OjNpBzkvqRy021S3V4EQ5TQceeWVcaUYamhK6
|
79
|
+
zlWcc+11UTDbcfk0hwjsoCNuw47agU89O3BCpvgWggMXyrpzSo00NsG2Ku+FiSYq
|
80
|
+
ojTb/Mm4Gws=
|
59
81
|
-----END CERTIFICATE-----
|
@@ -1,26 +1,35 @@
|
|
1
1
|
Certificate:
|
2
2
|
Data:
|
3
3
|
Version: 3 (0x2)
|
4
|
-
Serial Number:
|
5
|
-
|
4
|
+
Serial Number: 3 (0x3)
|
5
|
+
Signature Algorithm: sha256WithRSAEncryption
|
6
6
|
Issuer: CN=Test CA
|
7
7
|
Validity
|
8
8
|
Not Before: Jan 1 00:00:00 1970 GMT
|
9
|
-
Not After : Apr
|
9
|
+
Not After : Apr 18 18:46:23 2031 GMT
|
10
10
|
Subject: CN=Test CA Subauthority
|
11
11
|
Subject Public Key Info:
|
12
12
|
Public Key Algorithm: rsaEncryption
|
13
|
-
Public-Key: (
|
13
|
+
RSA Public-Key: (2048 bit)
|
14
14
|
Modulus:
|
15
|
-
00:
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
15
|
+
00:cd:ef:ef:31:c5:33:69:3b:ee:25:06:b9:73:a7:
|
16
|
+
09:e5:c9:9c:0b:39:48:26:fb:88:26:50:2d:8a:52:
|
17
|
+
29:86:df:7a:12:f0:08:ea:61:52:80:98:9f:a5:45:
|
18
|
+
26:ad:6d:05:e6:b5:81:e5:91:b3:6b:98:53:09:0a:
|
19
|
+
e9:05:4b:29:de:3c:64:44:a7:d2:5d:3f:fc:5f:f8:
|
20
|
+
29:1f:b0:40:e2:74:8a:26:fd:e8:d7:74:a5:78:de:
|
21
|
+
bf:23:10:73:74:8d:1b:0c:4b:d7:1d:a9:ae:86:14:
|
22
|
+
05:63:7c:2a:00:38:d6:57:8a:b7:a8:45:80:27:f5:
|
23
|
+
71:0b:fa:e2:bd:a2:d1:08:8d:fa:cd:9c:f6:ad:89:
|
24
|
+
76:ea:ab:1c:78:f9:26:5b:a3:18:2a:f7:90:15:ed:
|
25
|
+
a7:db:50:e9:7d:55:99:7e:05:10:ca:56:11:51:5e:
|
26
|
+
de:8c:e2:be:2a:8a:34:41:1d:1d:23:92:04:50:05:
|
27
|
+
c5:5b:b8:7a:45:90:ee:0d:7f:01:b1:ed:d4:dd:c5:
|
28
|
+
28:ed:7d:4d:6a:70:21:3b:95:5e:e2:31:d7:17:bd:
|
29
|
+
5b:af:e4:ce:ad:6b:9f:5f:9e:e1:1e:86:ff:83:c1:
|
30
|
+
88:ec:87:bb:bf:a1:26:22:75:b9:57:31:10:fd:a5:
|
31
|
+
ca:82:70:6d:c8:a1:a3:f6:3e:76:3d:2e:cd:07:f9:
|
32
|
+
7b:3f
|
24
33
|
Exponent: 65537 (0x10001)
|
25
34
|
X509v3 extensions:
|
26
35
|
X509v3 Basic Constraints: critical
|
@@ -28,32 +37,45 @@ Certificate:
|
|
28
37
|
X509v3 Key Usage: critical
|
29
38
|
Certificate Sign, CRL Sign
|
30
39
|
X509v3 Subject Key Identifier:
|
31
|
-
|
40
|
+
9A:15:19:07:A0:54:8D:C3:9D:4F:07:C4:05:A1:85:AC:92:D8:B1:E5
|
32
41
|
Netscape Comment:
|
33
42
|
Puppet Server Internal Certificate
|
34
43
|
X509v3 Authority Key Identifier:
|
35
|
-
keyid:
|
44
|
+
keyid:61:DF:EE:CE:DA:49:6B:5E:F3:EF:94:FE:F9:DC:C7:C0:5A:74:FE:DB
|
36
45
|
|
37
46
|
Signature Algorithm: sha256WithRSAEncryption
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
47
|
+
d7:3a:0b:c1:06:57:c2:6c:f8:4e:79:c6:f9:0e:9c:a6:64:cc:
|
48
|
+
7b:c8:a5:7a:93:aa:d6:f5:e7:51:9a:26:6f:6c:b5:48:37:39:
|
49
|
+
ba:4b:6c:f8:d6:95:2d:db:e0:44:bd:f6:c9:a1:36:7a:12:0a:
|
50
|
+
b2:77:7b:84:c8:14:68:1e:c2:04:29:b5:83:3b:cf:29:dc:6b:
|
51
|
+
27:b3:ae:a3:24:aa:3b:0c:4c:4b:c0:7d:52:6d:5c:2c:d0:5d:
|
52
|
+
06:af:89:9a:0c:0f:2e:df:53:ae:82:23:36:e3:1a:cb:49:46:
|
53
|
+
e2:77:a1:3e:55:1c:81:f5:8e:c8:f2:da:8c:22:14:e6:84:47:
|
54
|
+
e9:56:8e:7a:c7:c4:54:e0:f1:f5:2f:00:c4:ad:e1:ff:ba:cb:
|
55
|
+
5e:66:22:f2:71:db:0e:31:22:5b:5e:ad:63:6e:bf:52:c9:4d:
|
56
|
+
91:cc:29:5d:b8:b3:d4:b0:a7:17:9b:bd:87:9b:09:ef:a2:68:
|
57
|
+
24:b2:1d:62:0a:f3:d6:15:7b:ba:26:7e:ca:e2:df:ac:4c:f9:
|
58
|
+
70:76:fc:fb:39:bf:d3:a8:21:19:2d:6d:a6:71:6f:e5:0f:c8:
|
59
|
+
9c:97:b0:5f:2c:85:d2:1f:b4:27:28:54:6f:30:f4:66:8a:bf:
|
60
|
+
cc:09:5c:0d:19:85:b6:04:8c:7c:03:a4:fc:a3:80:dc:1c:5b:
|
61
|
+
61:6d:12:0a
|
46
62
|
-----BEGIN CERTIFICATE-----
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
/
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
63
|
+
MIIDQTCCAimgAwIBAgIBAzANBgkqhkiG9w0BAQsFADASMRAwDgYDVQQDDAdUZXN0
|
64
|
+
IENBMB4XDTcwMDEwMTAwMDAwMFoXDTMxMDQxODE4NDYyM1owHzEdMBsGA1UEAwwU
|
65
|
+
VGVzdCBDQSBTdWJhdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK
|
66
|
+
AoIBAQDN7+8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ca.pem
CHANGED
@@ -1,26 +1,35 @@
|
|
1
1
|
Certificate:
|
2
2
|
Data:
|
3
3
|
Version: 3 (0x2)
|
4
|
-
Serial Number:
|
5
|
-
|
4
|
+
Serial Number: 2 (0x2)
|
5
|
+
Signature Algorithm: sha256WithRSAEncryption
|
6
6
|
Issuer: CN=Test CA
|
7
7
|
Validity
|
8
8
|
Not Before: Jan 1 00:00:00 1970 GMT
|
9
|
-
Not After : Apr
|
9
|
+
Not After : Apr 18 18:46:23 2031 GMT
|
10
10
|
Subject: CN=Test CA
|
11
11
|
Subject Public Key Info:
|
12
12
|
Public Key Algorithm: rsaEncryption
|
13
|
-
Public-Key: (
|
13
|
+
RSA Public-Key: (2048 bit)
|
14
14
|
Modulus:
|
15
|
-
00:
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
15
|
+
00:dd:a5:83:44:db:51:be:98:ef:b1:63:a7:04:b9:
|
16
|
+
ff:cd:71:d3:06:76:c4:25:68:e8:ea:ef:c5:b4:f9:
|
17
|
+
c2:76:aa:c0:1b:1b:0f:44:13:da:db:cf:d4:f4:88:
|
18
|
+
5c:cc:ac:f2:76:fb:9e:b6:2e:40:da:b8:c1:c8:cd:
|
19
|
+
24:90:63:10:6c:99:ee:0c:10:74:cc:38:b8:f3:b4:
|
20
|
+
d9:ed:1e:ac:07:29:b4:fe:f1:16:c2:18:7c:34:fd:
|
21
|
+
50:25:0f:f7:45:84:e0:4b:21:41:a4:5b:19:42:85:
|
22
|
+
a3:a8:d3:6a:ea:0f:80:f3:1a:06:f8:aa:31:4b:e5:
|
23
|
+
44:a8:37:80:d1:1b:01:ae:f3:b8:35:c6:3f:10:82:
|
24
|
+
84:fc:59:d9:47:d6:a9:e3:5e:f3:9f:89:23:6a:ed:
|
25
|
+
bc:92:6a:a1:49:2c:99:c3:89:b3:ab:3a:9f:6b:2d:
|
26
|
+
e6:39:95:15:e0:71:5f:6b:6a:23:2e:bc:cd:40:b2:
|
27
|
+
47:42:13:f4:f5:e7:43:76:5c:db:9d:10:3b:91:10:
|
28
|
+
cc:c7:27:db:a8:18:53:c9:50:eb:83:39:80:98:bf:
|
29
|
+
c0:cf:75:a8:31:56:2c:0f:32:44:b0:b8:2d:22:f9:
|
30
|
+
f6:a2:d6:0b:cf:5f:a2:89:7c:15:97:a9:01:5c:97:
|
31
|
+
6a:b9:9c:c2:aa:fd:a3:d9:aa:61:04:65:e4:13:7e:
|
32
|
+
58:7d
|
24
33
|
Exponent: 65537 (0x10001)
|
25
34
|
X509v3 extensions:
|
26
35
|
X509v3 Basic Constraints: critical
|
@@ -28,32 +37,45 @@ Certificate:
|
|
28
37
|
X509v3 Key Usage: critical
|
29
38
|
Certificate Sign, CRL Sign
|
30
39
|
X509v3 Subject Key Identifier:
|
31
|
-
|
40
|
+
61:DF:EE:CE:DA:49:6B:5E:F3:EF:94:FE:F9:DC:C7:C0:5A:74:FE:DB
|
32
41
|
Netscape Comment:
|
33
42
|
Puppet Server Internal Certificate
|
34
43
|
X509v3 Authority Key Identifier:
|
35
|
-
keyid:
|
44
|
+
keyid:61:DF:EE:CE:DA:49:6B:5E:F3:EF:94:FE:F9:DC:C7:C0:5A:74:FE:DB
|
36
45
|
|
37
46
|
Signature Algorithm: sha256WithRSAEncryption
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
47
|
+
28:6c:ca:8a:1f:b2:01:4b:35:d1:55:07:c8:7c:79:5f:fb:a2:
|
48
|
+
e0:09:e9:25:d5:db:9f:d6:91:a8:cc:66:b1:63:bd:ad:f8:80:
|
49
|
+
80:32:43:eb:77:ee:d7:fd:48:27:26:bb:e1:48:67:83:7c:91:
|
50
|
+
4d:62:96:d6:6c:ce:37:5d:ff:f8:6a:f4:8d:31:3b:4c:f4:0d:
|
51
|
+
4f:75:61:08:01:99:f0:92:d2:d0:50:08:6e:c3:0d:25:3b:5b:
|
52
|
+
53:60:da:fa:90:02:2b:29:90:3f:f8:23:bb:9c:4c:0f:ad:d0:
|
53
|
+
cc:1b:21:56:26:40:97:7c:86:33:31:7d:fd:a9:5f:53:14:3e:
|
54
|
+
80:5f:91:09:f7:76:e4:ad:30:17:d0:aa:52:ef:e8:f6:6e:b7:
|
55
|
+
8e:68:47:9b:f8:63:3e:50:52:ba:eb:4a:9e:40:c5:84:aa:94:
|
56
|
+
49:0a:8a:ff:17:57:18:bd:fc:4d:71:6d:83:ee:4d:7e:40:6c:
|
57
|
+
08:c5:ee:6e:0d:c6:97:ba:6d:35:80:89:c5:c5:95:7b:f0:d0:
|
58
|
+
0a:39:2f:8e:70:03:bf:da:56:1d:59:6c:2c:c9:04:9b:d6:b2:
|
59
|
+
f3:1b:cf:4f:f3:12:47:eb:05:ea:42:70:4f:02:33:d1:5e:27:
|
60
|
+
a0:e3:66:d6:b0:d5:ab:e2:32:ad:e8:50:e1:f2:eb:17:ad:87:
|
61
|
+
31:22:fe:22
|
46
62
|
-----BEGIN CERTIFICATE-----
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
63
|
+
MIIDNzCCAh+gAwIBAgIBAjANBgkqhkiG9w0BAQsFADASMRAwDgYDVQQDDAdUZXN0
|
64
|
+
IENBMB4XDTcwMDEwMTAwMDAwMFoXDTMxMDQxODE4NDYyM1owEjEQMA4GA1UEAwwH
|
65
|
+
VGVzdCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAN2lg0TbUb6Y
|
66
|
+
77FjpwS5/81x0wZ2xCVo6OrvxbT5wnaqwBsbD0QT2tvP1PSIXMys8nb7nrYuQNq4
|
67
|
+
wcjNJJBjEGyZ7gwQdMw4uPO02e0erAcptP7xFsIYfDT9UCUP90WE4EshQaRbGUKF
|
68
|
+
o6jTauoPgPMaBviqMUvlRKg3gNEbAa7zuDXGPxCChPxZ2UfWqeNe85+JI2rtvJJq
|
69
|
+
oUksmcOJs6s6n2st5jmVFeBxX2tqIy68zUCyR0IT9PXnQ3Zc250QO5EQzMcn26gY
|
70
|
+
U8lQ64M5gJi/wM91qDFWLA8yRLC4LSL59qLWC89fool8FZepAVyXarmcwqr9o9mq
|
71
|
+
YQRl5BN+WH0CAwEAAaOBlzCBlDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQE
|
72
|
+
AwIBBjAdBgNVHQ4EFgQUYd/uztpJa17z75T++dzHwFp0/tswMQYJYIZIAYb4QgEN
|
73
|
+
BCQWIlB1cHBldCBTZXJ2ZXIgSW50ZXJuYWwgQ2VydGlmaWNhdGUwHwYDVR0jBBgw
|
74
|
+
FoAUYd/uztpJa17z75T++dzHwFp0/tswDQYJKoZIhvcNAQELBQADggEBAChsyoof
|
75
|
+
sgFLNdFVB8h8eV/7ouAJ6SXV25/WkajMZrFjva34gIAyQ+t37tf9SCcmu+FIZ4N8
|
76
|
+
kU1iltZszjdd//hq9I0xO0z0DU91YQgBmfCS0tBQCG7DDSU7W1Ng2vqQAispkD/4
|
77
|
+
I7ucTA+t0MwbIVYmQJd8hjMxff2pX1MUPoBfkQn3duStMBfQqlLv6PZut45oR5v4
|
78
|
+
Yz5QUrrrSp5AxYSqlEkKiv8XVxi9/E1xbYPuTX5AbAjF7m4Nxpe6bTWAicXFlXvw
|
79
|
+
0Ao5L45wA7/aVh1ZbCzJBJvWsvMbz0/zEkfrBepCcE8CM9FeJ6DjZtaw1aviMq3o
|
80
|
+
UOHy6xethzEi/iI=
|
59
81
|
-----END CERTIFICATE-----
|
data/spec/fixtures/ssl/crl.pem
CHANGED
@@ -1,30 +1,40 @@
|
|
1
1
|
Certificate Revocation List (CRL):
|
2
2
|
Version 2 (0x1)
|
3
|
-
|
4
|
-
Issuer:
|
3
|
+
Signature Algorithm: sha256WithRSAEncryption
|
4
|
+
Issuer: CN=Test CA
|
5
5
|
Last Update: Jan 1 00:00:00 1970 GMT
|
6
|
-
Next Update: Apr
|
6
|
+
Next Update: Apr 18 18:46:23 2031 GMT
|
7
7
|
CRL extensions:
|
8
8
|
X509v3 Authority Key Identifier:
|
9
|
-
keyid:
|
9
|
+
keyid:61:DF:EE:CE:DA:49:6B:5E:F3:EF:94:FE:F9:DC:C7:C0:5A:74:FE:DB
|
10
10
|
|
11
11
|
X509v3 CRL Number:
|
12
12
|
0
|
13
13
|
No Revoked Certificates.
|
14
14
|
Signature Algorithm: sha256WithRSAEncryption
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
15
|
+
6e:b5:9c:17:8b:61:3c:41:07:ac:de:27:18:ba:92:56:51:50:
|
16
|
+
23:d8:f9:1f:70:b8:a6:eb:ae:6c:2c:67:c1:0e:ae:96:0f:f4:
|
17
|
+
bc:0a:f3:bc:23:15:67:b0:32:a2:e0:4f:2c:7f:f9:c2:9d:91:
|
18
|
+
2e:32:01:60:3b:e4:ad:05:b6:60:f1:90:9d:cd:63:a5:62:c1:
|
19
|
+
4d:04:d6:90:30:f8:43:97:e6:88:0a:2a:65:8f:49:12:d6:41:
|
20
|
+
5e:11:62:00:a5:ff:0f:c3:3e:97:e0:93:31:de:64:7c:11:a5:
|
21
|
+
7b:f1:77:0a:8e:00:23:4c:9d:b1:c5:b5:41:bf:96:da:b7:c7:
|
22
|
+
e7:8c:44:1b:c2:de:15:0f:da:32:52:45:65:54:dc:1b:a7:5b:
|
23
|
+
d3:a2:b5:6e:85:3b:97:d9:09:52:c6:4d:6c:18:a4:22:58:11:
|
24
|
+
bf:12:27:2f:64:00:a5:9a:7d:b8:10:0c:6d:eb:b8:70:ee:e2:
|
25
|
+
58:86:eb:31:48:c0:af:92:92:fc:2e:1f:0f:61:77:7c:5c:a8:
|
26
|
+
ca:bc:52:94:e4:f2:bc:c2:f1:fa:aa:16:63:9d:16:51:92:7b:
|
27
|
+
ad:da:fd:94:ed:3d:e9:8c:ad:ba:95:34:98:6a:ea:e6:9c:8e:
|
28
|
+
38:a3:20:34:19:63:1e:7f:f3:26:07:7f:46:27:01:85:91:46:
|
29
|
+
44:66:c7:03
|
23
30
|
-----BEGIN X509 CRL-----
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
31
|
+
MIIBizB1AgEBMA0GCSqGSIb3DQEBCwUAMBIxEDAOBgNVBAMMB1Rlc3QgQ0EXDTcw
|
32
|
+
MDEwMTAwMDAwMFoXDTMxMDQxODE4NDYyM1qgLzAtMB8GA1UdIwQYMBaAFGHf7s7a
|
33
|
+
SWte8++U/vncx8BadP7bMAoGA1UdFAQDAgEAMA0GCSqGSIb3DQEBCwUAA4IBAQBu
|
34
|
+
tZwXi2E8QQes3icYupJWUVAj2PkfcLim665sLGfBDq6WD/S8CvO8IxVnsDKi4E8s
|
35
|
+
f/nCnZEuMgFgO+StBbZg8ZCdzWOlYsFNBNaQMPhDl+aICiplj0kS1kFeEWIApf8P
|
36
|
+
wz6X4JMx3mR8EaV78XcKjgAjTJ2xxbVBv5bat8fnjEQbwt4VD9oyUkVlVNwbp1vT
|
37
|
+
orVuhTuX2QlSxk1sGKQiWBG/EicvZAClmn24EAxt67hw7uJYhusxSMCvkpL8Lh8P
|
38
|
+
YXd8XKjKvFKU5PK8wvH6qhZjnRZRknut2v2U7T3pjK26lTSYaurmnI44oyA0GWMe
|
39
|
+
f/MmB39GJwGFkUZEZscD
|
30
40
|
-----END X509 CRL-----
|
@@ -1,18 +1,18 @@
|
|
1
1
|
Private-Key: (256 bit)
|
2
2
|
priv:
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
f6:29:ef:a1:4b:33:2a:e1:ed:f9:25:c3:d1:53:81:
|
4
|
+
26:8d:65:e7:be:33:ea:b4:0e:7b:fa:d8:f5:58:53:
|
5
|
+
a6:a3
|
6
6
|
pub:
|
7
|
-
04:
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
7
|
+
04:c4:23:3b:de:c0:ca:4f:ea:d4:e9:b2:de:9f:df:
|
8
|
+
22:97:5b:89:48:de:a6:6c:82:f6:b6:fc:a9:e5:cb:
|
9
|
+
14:f9:e6:2c:ce:08:5c:e2:99:55:ff:55:c2:03:33:
|
10
|
+
90:49:13:9a:3f:25:29:70:19:2c:20:5e:8a:09:ad:
|
11
|
+
cd:9e:86:0a:e6
|
12
12
|
ASN1 OID: prime256v1
|
13
13
|
NIST CURVE: P-256
|
14
14
|
-----BEGIN EC PRIVATE KEY-----
|
15
|
-
|
16
|
-
|
17
|
-
|
15
|
+
MHcCAQEEIPYp76FLMyrh7fklw9FTgSaNZee+M+q0Dnv62PVYU6ajoAoGCCqGSM49
|
16
|
+
AwEHoUQDQgAExCM73sDKT+rU6bLen98il1uJSN6mbIL2tvyp5csU+eYszghc4plV
|
17
|
+
/1XCAzOQSROaPyUpcBksIF6KCa3NnoYK5g==
|
18
18
|
-----END EC PRIVATE KEY-----
|
data/spec/fixtures/ssl/ec.pem
CHANGED
@@ -1,40 +1,49 @@
|
|
1
1
|
Certificate:
|
2
2
|
Data:
|
3
3
|
Version: 3 (0x2)
|
4
|
-
Serial Number:
|
5
|
-
|
4
|
+
Serial Number: 7 (0x7)
|
5
|
+
Signature Algorithm: sha256WithRSAEncryption
|
6
6
|
Issuer: CN=Test CA Subauthority
|
7
7
|
Validity
|
8
8
|
Not Before: Jan 1 00:00:00 1970 GMT
|
9
|
-
Not After : Apr
|
9
|
+
Not After : Apr 18 18:46:23 2031 GMT
|
10
10
|
Subject: CN=ec
|
11
11
|
Subject Public Key Info:
|
12
12
|
Public Key Algorithm: id-ecPublicKey
|
13
13
|
Public-Key: (256 bit)
|
14
14
|
pub:
|
15
|
-
04:
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
15
|
+
04:c4:23:3b:de:c0:ca:4f:ea:d4:e9:b2:de:9f:df:
|
16
|
+
22:97:5b:89:48:de:a6:6c:82:f6:b6:fc:a9:e5:cb:
|
17
|
+
14:f9:e6:2c:ce:08:5c:e2:99:55:ff:55:c2:03:33:
|
18
|
+
90:49:13:9a:3f:25:29:70:19:2c:20:5e:8a:09:ad:
|
19
|
+
cd:9e:86:0a:e6
|
20
20
|
ASN1 OID: prime256v1
|
21
21
|
NIST CURVE: P-256
|
22
22
|
Signature Algorithm: sha256WithRSAEncryption
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
23
|
+
27:2e:2b:92:93:5d:39:da:ea:0e:ae:02:eb:aa:30:a5:bb:1a:
|
24
|
+
d5:e0:41:41:b5:6c:12:49:4d:61:39:1a:49:fc:5e:6a:22:ec:
|
25
|
+
7a:b0:4d:3e:ee:aa:f4:e9:c8:62:fd:c1:72:6d:c0:ee:21:0c:
|
26
|
+
eb:fb:5b:b1:81:ff:4e:bf:a7:c9:e8:37:02:2d:e3:f4:5c:49:
|
27
|
+
5f:e1:6f:96:9f:02:46:a6:8c:1d:d1:e8:50:f8:40:b2:db:a8:
|
28
|
+
c9:2d:5d:40:39:e7:31:c8:8f:9c:5a:bc:f8:a2:97:70:8d:fc:
|
29
|
+
0c:f1:ce:a2:66:7b:14:c8:ae:30:c7:90:8e:cb:ce:e3:b9:69:
|
30
|
+
9c:b8:6e:9e:61:a9:1b:90:28:2d:10:b3:5a:a1:b5:49:5a:48:
|
31
|
+
2f:7b:80:ef:db:e3:41:c6:c4:a1:46:87:0c:d9:b2:fc:16:fb:
|
32
|
+
ff:b6:93:ca:5e:67:73:1c:14:8a:a4:33:44:13:be:75:7c:6b:
|
33
|
+
61:3a:42:79:fc:a2:20:1a:cc:90:a4:63:3c:a2:b2:e2:52:0a:
|
34
|
+
03:21:6b:94:57:0e:4b:ab:30:b4:49:21:2f:bf:ae:aa:fc:62:
|
35
|
+
62:f9:f7:03:ba:5f:99:6d:50:5c:03:61:7f:9e:96:1d:07:dd:
|
36
|
+
32:f0:b7:80:22:4c:4c:00:50:59:2b:c8:76:1e:c3:b8:e5:0f:
|
37
|
+
ad:f0:1c:d8
|
31
38
|
-----BEGIN CERTIFICATE-----
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
39
|
+
MIIB2TCBwqADAgECAgEHMA0GCSqGSIb3DQEBCwUAMB8xHTAbBgNVBAMMFFRlc3Qg
|
40
|
+
Q0EgU3ViYXV0aG9yaXR5MB4XDTcwMDEwMTAwMDAwMFoXDTMxMDQxODE4NDYyM1ow
|
41
|
+
DTELMAkGA1UEAwwCZWMwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATEIzvewMpP
|
42
|
+
6tTpst6f3yKXW4lI3qZsgva2/KnlyxT55izOCFzimVX/VcIDM5BJE5o/JSlwGSwg
|
43
|
+
XooJrc2ehgrmMA0GCSqGSIb3DQEBCwUAA4IBAQAnLiuSk1052uoOrgLrqjCluxrV
|
44
|
+
4EFBtWwSSU1hORpJ/F5qIux6sE0+7qr06chi/cFybcDuIQzr+1uxgf9Ov6fJ6DcC
|
45
|
+
LeP0XElf4W+WnwJGpowd0ehQ+ECy26jJLV1AOecxyI+cWrz4opdwjfwM8c6iZnsU
|
46
|
+
yK4wx5COy87juWmcuG6eYakbkCgtELNaobVJWkgve4Dv2+NBxsShRocM2bL8Fvv/
|
47
|
+
tpPKXmdzHBSKpDNEE751fGthOkJ5/KIgGsyQpGM8orLiUgoDIWuUVw5LqzC0SSEv
|
48
|
+
v66q/GJi+fcDul+ZbVBcA2F/npYdB90y8LeAIkxMAFBZK8h2HsO45Q+t8BzY
|
40
49
|
-----END CERTIFICATE-----
|