basicConstraints
|
|
changed
|
|
diff
|
--- before
+++ after
@@ -1 +1,85 @@
-{}
+{
+ "authority_cert_issuer": null,
+ "authority_cert_serial_number": null,
+ "authority_key_identifier": null,
+ "basic_constraints": [
+ "CA:TRUE"
+ ],
+ "basic_constraints_critical": true,
+ "can_parse_csr": true,
+ "extended_key_usage": null,
+ "extended_key_usage_critical": false,
+ "extensions_by_oid": {
+ "2.5.29.14": {
+ "critical": false,
+ "value": "BBRchF3+oBkvE6NnTtf52ExkjJW9nQ=="
+ },
+ "2.5.29.17": {
+ "critical": false,
+ "value": "MFCCB3NlcnZpY2WCIXNlcnZpY2UuazhzY2x1c3Rlci5rdWJlaW5pdC5sb2NhbIIicmVnaXN0cnkuazhzY2x1c3Rlci5rdWJlaW5pdC5sb2NhbA=="
+ },
+ "2.5.29.19": {
+ "critical": true,
+ "value": "MAMBAf8="
+ }
+ },
+ "key_usage": null,
+ "key_usage_critical": false,
+ "name_constraints_critical": false,
+ "name_constraints_excluded": null,
+ "name_constraints_permitted": null,
+ "ocsp_must_staple": null,
+ "ocsp_must_staple_critical": false,
+ "public_key": "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA52VyogY+Fit3JlaHO/30\n4zGZh7OEbkNlt3PGbW/CwSLb8ViWLIvnzFABdXOeSvLd6J4808yjS1p3TlHBrM+U\n51pBLW/GoC0KKhp61L12uTQkTYJCJc6S7fujBiLY+4qMRn4GTUytU7NomW4eT+aJ\nYlVuWdP7H9UblJXefEZUZSMxjOf+kfssr79k2RnHnG4csz+W0aLP79B3bxlDEN4u\n856Yi84SFtt52wPzPqKYdZwcI2wCb0asOuU7aFO2sT1aGRzUUlulmJzs/Zvbpc3v\nos15VT/SVSTBZluHjryIEr2ez3dzaJVooyLz9YZMkv5Yt4sVEJgyRYIWAdKeOuUt\n/mBiaccpm31MyWo7Pg9CKtfoUfdzCJnYL4s6sJPsD2JHY39thyM8SPhorr8/BceY\n5nTZkKM/gVGElgm0H/X5qFtU4hcxgKCkX0BEA18pECzQzA9Xrxl9klEhn6hu1mFQ\nl59rNGf1KJiPGL13FZMnOIJhPSZA+BHRBHde4ZTFD6XdT3d0H5xLarRjhVhaTGJa\njj0kr32i88UES2rxzgvqPZS0Q92zkRQTC3r2K+sdwIaO8INT3sl9cw4504kXFlmx\n1umKYynY5hMAZjQqJO7Pzr4FJa94lVRmK4oVVKUa5+4O7hmdomLwfL6WAkdK5iYU\nCWa+KJ4lJ10rl47hEk1e8zMCAwEAAQ==\n-----END PUBLIC KEY-----\n",
+ "public_key_data": {
+ "exponent": 65537,
+ "modulus": 944014462733963486190731429761478994057406444907527483424773126049840639335659687504919494175557118741259209152818529868681761592580475184760090655214963503613970523222183265500663922626524304172761210353624733533472268655013536283501233594275721652285654566116222142893202452053008837905416081593712129273725204976439412627175786689195529521817519069860450176773854088962123470539194490072412806703637398860951693577233716284995379556477059000163235964756148623866502749968174490937636394456019676365206163465067956314201263984381982341361028960752999600918566269985061069093129690784257284741412872429095615026818806807293738619740528008951980489241017759299497959136776477208574957479231058500365850032746233192393899645771322775645258934391437213659717733508304889987068533794348335080858791684753410114087796792629648761338387805962767640258284097534659583002308810078464175993985553487189940877231717794971328257161832216669367344425347996084653070639875928995861863232524426689708138945596324532461063729867136727069908822806846171212079038706372326152719504511132426444402644566392120113746290247024840257140160445528057758940252242473335223284332685835236827849949708421412425979860487051338905930117806170358767262195708723,
+ "size": 4096
+ },
+ "public_key_fingerprints": {
+ "sha256": "eb:56:25:1a:aa:98:01:a9:52:9d:36:fe:c5:84:03:af:7b:cd:05:f3:4f:8b:7f:2c:ea:59:53:4d:25:2c:8e:3d"
+ },
+ "public_key_type": "RSA",
+ "signature_valid": true,
+ "subject": {
+ "commonName": "service.k8scluster.kubeinit.local",
+ "countryName": "US",
+ "localityName": "MyCity",
+ "organizationName": "MyCompany",
+ "organizationalUnitName": "MyDepartment",
+ "stateOrProvinceName": "MyState"
+ },
+ "subject_alt_name": [
+ "DNS:service",
+ "DNS:service.k8scluster.kubeinit.local",
+ "DNS:registry.k8scluster.kubeinit.local"
+ ],
+ "subject_alt_name_critical": false,
+ "subject_key_identifier": "5c:84:5d:fe:a0:19:2f:13:a3:67:4e:d7:f9:d8:4c:64:8c:95:bd:9d",
+ "subject_ordered": [
+ [
+ "countryName",
+ "US"
+ ],
+ [
+ "stateOrProvinceName",
+ "MyState"
+ ],
+ [
+ "localityName",
+ "MyCity"
+ ],
+ [
+ "organizationName",
+ "MyCompany"
+ ],
+ [
+ "organizationalUnitName",
+ "MyDepartment"
+ ],
+ [
+ "commonName",
+ "service.k8scluster.kubeinit.local"
+ ]
+ ]
+}
|
extendedKeyUsage
|
None
|
filename
|
/var/kubeinit/registry/certs/domain.csr
|
invocation
|
{
"module_args": {
"attributes": null,
"authority_cert_issuer": null,
"authority_cert_serial_number": null,
"authority_key_identifier": null,
"backup": false,
"basic_constraints": [
"CA:TRUE"
],
"basic_constraints_critical": true,
"common_name": "service.k8scluster.kubeinit.local",
"country_name": "US",
"create_subject_key_identifier": true,
"crl_distribution_points": null,
"digest": "sha256",
"email_address": null,
"extended_key_usage": null,
"extended_key_usage_critical": false,
"force": false,
"group": null,
"key_usage": null,
"key_usage_critical": false,
"locality_name": "MyCity",
"mode": null,
"name_constraints_critical": false,
"name_constraints_excluded": null,
"name_constraints_permitted": null,
"ocsp_must_staple": false,
"ocsp_must_staple_critical": false,
"organization_name": "MyCompany",
"organizational_unit_name": "MyDepartment",
"owner": null,
"path": "/var/kubeinit/registry/certs/domain.csr",
"privatekey_content": null,
"privatekey_passphrase": null,
"privatekey_path": "/var/kubeinit/registry/certs/domain.key",
"return_content": false,
"select_crypto_backend": "auto",
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"state": "present",
"state_or_province_name": "MyState",
"subject": null,
"subject_alt_name": [
"DNS:service",
"DNS:service.k8scluster.kubeinit.local",
"DNS:registry.k8scluster.kubeinit.local"
],
"subject_alt_name_critical": false,
"subject_key_identifier": null,
"subject_ordered": null,
"unsafe_writes": false,
"use_common_name_for_san": true,
"version": 1
}
}
|
keyUsage
|
None
|
name_constraints_excluded
|
|
name_constraints_permitted
|
|
ocspMustStaple
|
|
privatekey
|
/var/kubeinit/registry/certs/domain.key
|
subject
|
[
[
"C",
"US"
],
[
"ST",
"MyState"
],
[
"L",
"MyCity"
],
[
"O",
"MyCompany"
],
[
"OU",
"MyDepartment"
],
[
"CN",
"service.k8scluster.kubeinit.local"
]
]
|
subjectAltName
|
[
"DNS:service",
"DNS:service.k8scluster.kubeinit.local",
"DNS:registry.k8scluster.kubeinit.local"
]
|