From 7dd7757be724d02b6a59c1e29f0e9d1e43a074f5 2020-08-27 16:10:53 From: Branko Majic Date: 2020-08-27 16:10:53 Subject: [PATCH] MAR-150: Use fixtures for X.509 artefacts in the php_website role: - Removed the statically generated artefacts. - Generate X.509 artefacts for tests using Gimmecert. - Updated paths to point to generated artefacts. - Introduced cleanup playbook for removing generated artefacts. --- diff --git a/roles/php_website/molecule/default/cleanup.yml b/roles/php_website/molecule/default/cleanup.yml new file mode 100644 index 0000000000000000000000000000000000000000..c99ee79c29bc84b49f955fbcdf8734cda064bc64 --- /dev/null +++ b/roles/php_website/molecule/default/cleanup.yml @@ -0,0 +1,15 @@ +--- + +- name: Clean-up fixtures + hosts: localhost + connection: local + gather_facts: false + tasks: + + - name: Remove X.509 material + file: + path: "{{ item }}" + state: absent + with_items: + - "tests/data/x509" + - "tests/data/.gimmecert" diff --git a/roles/php_website/molecule/default/molecule.yml b/roles/php_website/molecule/default/molecule.yml index 2d738c3b12fc4562911c946cef62a3fa5a1a74a5..f76e5571d27dad30c0b9911059cb1f28ff50dc97 100644 --- a/roles/php_website/molecule/default/molecule.yml +++ b/roles/php_website/molecule/default/molecule.yml @@ -25,6 +25,8 @@ platforms: provisioner: name: ansible + playbooks: + cleanup: cleanup.yml config_options: defaults: force_valid_group_names: "ignore" diff --git a/roles/php_website/molecule/default/playbook.yml b/roles/php_website/molecule/default/playbook.yml index e06c07c5a66d2cdd15c174df5280fd1e21e3dcdd..a4fb3a5812e5ea3a49a0ffca9f21ddb15067a83e 100644 --- a/roles/php_website/molecule/default/playbook.yml +++ b/roles/php_website/molecule/default/playbook.yml @@ -5,17 +5,17 @@ vars: # common ca_certificates: - testca: "{{ lookup('file', 'tests/data/x509/ca.cert.pem') }}" + testca: "{{ lookup('file', 'tests/data/x509/ca/level1.cert.pem') }}" # web_server - default_https_tls_certificate: "{{ lookup('file', 'tests/data/x509/php-website_https.cert.pem') }}" - default_https_tls_key: "{{ lookup('file', 'tests/data/x509/php-website_https.key.pem') }}" + default_https_tls_certificate: "{{ lookup('file', 'tests/data/x509/server/php-website_https.cert.pem') }}" + default_https_tls_key: "{{ lookup('file', 'tests/data/x509/server/php-website_https.key.pem') }}" roles: - role: php_website fqdn: parameters-mandatory - https_tls_certificate: "{{ lookup('file', 'tests/data/x509/parameters-mandatory_https.cert.pem') }}" - https_tls_key: "{{ lookup('file', 'tests/data/x509/parameters-mandatory_https.key.pem') }}" + https_tls_certificate: "{{ lookup('file', 'tests/data/x509/server/parameters-mandatory_https.cert.pem') }}" + https_tls_key: "{{ lookup('file', 'tests/data/x509/server/parameters-mandatory_https.key.pem') }}" - role: php_website additional_fpm_config: @@ -34,8 +34,8 @@ text: "parameters-optional" fqdn: parameters-optional.local index: myindex.php - https_tls_certificate: "{{ lookup('file', 'tests/data/x509/parameters-optional.local_https.cert.pem') }}" - https_tls_key: "{{ lookup('file', 'tests/data/x509/parameters-optional.local_https.key.pem') }}" + https_tls_certificate: "{{ lookup('file', 'tests/data/x509/server/parameters-optional_https.cert.pem') }}" + https_tls_key: "{{ lookup('file', 'tests/data/x509/server/parameters-optional_https.key.pem') }}" php_file_regex: "\\.myphp$" php_rewrite_urls: - ^/rewrite1/(.*)$ /rewrite.myphp?url=$1 last diff --git a/roles/php_website/molecule/default/prepare.yml b/roles/php_website/molecule/default/prepare.yml index 4e8a11ae1535d52d968467817d132af06e83770a..229993e6f4e6ff01a1075ff4554a30cb17620a89 100644 --- a/roles/php_website/molecule/default/prepare.yml +++ b/roles/php_website/molecule/default/prepare.yml @@ -1,5 +1,42 @@ --- +- name: Set-up fixtures + hosts: localhost + connection: local + gather_facts: false + tasks: + + - name: Initialise CA hierarchy + command: "gimmecert init" + args: + creates: ".gimmecert/ca/level1.cert.pem" + chdir: "tests/data/" + + - name: Generate server private keys and certificates + command: + args: + chdir: "tests/data/" + creates: "tests/data/.gimmecert/server/{{ item.name }}.cert.pem" + argv: + - "gimmecert" + - "server" + - "{{ item.name }}" + - "{{ item.fqdn }}" + - "{{ item.fqdn[:item.fqdn.rfind('-')] }}" + with_items: + - name: parameters-mandatory_https + fqdn: parameters-mandatory + - name: parameters-optional_https + fqdn: parameters-optional.local + - name: php-website_https + fqdn: php-website + + - name: Set-up link to generated X.509 material + file: + src: ".gimmecert" + dest: "tests/data/x509" + state: link + - name: Prepare hosts: all gather_facts: false diff --git a/roles/php_website/molecule/default/tests/data/x509/ca.cert.pem b/roles/php_website/molecule/default/tests/data/x509/ca.cert.pem deleted file mode 100644 index a41785fdd72787232ac39d645f36d2a0b7b04c11..0000000000000000000000000000000000000000 --- a/roles/php_website/molecule/default/tests/data/x509/ca.cert.pem +++ /dev/null @@ -1,26 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIEWTCCAsGgAwIBAgIMWVEJAy6O6Abooz68MA0GCSqGSIb3DQEBCwUAMEgxIjAg -BgNVBAMTGUV4YW1wbGUgSW5jLiBUZXN0IFNpdGUgQ0ExFTATBgNVBAoTDEV4YW1w -bGUgSW5jLjELMAkGA1UEBhMCU0UwHhcNMTcwNjI2MTMxNTQ3WhcNMzcwNjIxMTMx -NTQ3WjBIMSIwIAYDVQQDExlFeGFtcGxlIEluYy4gVGVzdCBTaXRlIENBMRUwEwYD -VQQKEwxFeGFtcGxlIEluYy4xCzAJBgNVBAYTAlNFMIIBojANBgkqhkiG9w0BAQEF -AAOCAY8AMIIBigKCAYEAufYIYdFLn8Xo8a3c0cUj7s9WEUYKDE6ETmsNFdZee2hK -qP2Li9bSr+vPjgMfi2UfxX/+i9x6LGqsIUxXVgrKlOf7R8bFg/runUI+4X1mZMJw -dBc1POhjkdfRbtfOdu1LtztW4Pc2tnyrAtmhcNHUCXNGRfDNpFKtIFe4OTA/4/eP -1EAyInHNqO2F8UgL8EDUMg9AQd4InVCPYRNlsv9j9qBVMjZiX7hoBC8k1laNkd4T -IdV6zet3+M5Fp/W9lvxFI1yPXw/xWM7K9R3nepunKniuGmjBsac/ZHCUFqJaHz5K -pXyMpSH1GTXOnIKFOldK4NYOzjCOR9Z+k63oJPZ+c7R9cKAZ7DERhS8X6MiykQ2s -hDY68i7HSZd9Dy5oLlH63evbi/tWJSG9mE/UamYuzORKR4PNwixaKQbteiDU59wK -azH5yQNGIqMSGkNgSsj9QW2NPkyNskuzCP04f77V/wSpum5PIygyuLidge9A+Vux -eb5v7XBS8Zp3Wn78JYrlAgMBAAGjQzBBMA8GA1UdEwEB/wQFMAMBAf8wDwYDVR0P -AQH/BAUDAwcGADAdBgNVHQ4EFgQUN2vbkxxpfpJMa99zhfiEllmBT2swDQYJKoZI -hvcNAQELBQADggGBADNZ9eJA3Jm5TJQoDct+FZOc16XZDlteGBxVJj+aQUlBFlJK -itvW/reR4SwZF/QRtCIzY7HN0rx0FVvfGR4sIcN2MALG+4Beee5nZR3KsNHhx895 -5ml7vqfNhnn/3/Gd7quqb2FskALfHAciuL+y0n/KcnnJ/3wZKR6xc5ON1VrwHSyI -ENxRC8/oeO9SBc9V5gG5CyELftUiGBE73IIGjV/wXiwBvgwPB+j8vrv5nQrKPsLk -b9ngSts/JSdiQH3cIbBpNoWz8Q8OIoQTt99GUKAScJX4UO7W5EHNmcCtCtOpgRg+ -Y49auOe/6A1n4rsLANZlDelhwCASQtZ04DdFl5QQpTuIOmd4l4KuNpqQ5Px+sxFu -oPenBiQkXuQn9rQaFTTSc9jVBoumRp61P0mvoGusRzjYYvdL8zYoH/246eliWgyy -60+/lgmDXpwf0a2d3fDTxuBmP1HlJYLUsS6ij+GKGgAOTCGmzygmyPOroDae+XOI -G2o8G6ziU8d8RICIng== ------END CERTIFICATE----- diff --git a/roles/php_website/molecule/default/tests/data/x509/ca.key.pem b/roles/php_website/molecule/default/tests/data/x509/ca.key.pem deleted file mode 100644 index d2f3ab97e995f18f395d78cd62af20368aeb7b0f..0000000000000000000000000000000000000000 --- a/roles/php_website/molecule/default/tests/data/x509/ca.key.pem +++ /dev/null @@ -1,182 +0,0 @@ -Public Key Info: - Public Key Algorithm: RSA - Key Security Level: High (3072 bits) - -modulus: - 00:b9:f6:08:61:d1:4b:9f:c5:e8:f1:ad:dc:d1:c5:23 - ee:cf:56:11:46:0a:0c:4e:84:4e:6b:0d:15:d6:5e:7b - 68:4a:a8:fd:8b:8b:d6:d2:af:eb:cf:8e:03:1f:8b:65 - 1f:c5:7f:fe:8b:dc:7a:2c:6a:ac:21:4c:57:56:0a:ca - 94:e7:fb:47:c6:c5:83:fa:ee:9d:42:3e:e1:7d:66:64 - c2:70:74:17:35:3c:e8:63:91:d7:d1:6e:d7:ce:76:ed - 4b:b7:3b:56:e0:f7:36:b6:7c:ab:02:d9:a1:70:d1:d4 - 09:73:46:45:f0:cd:a4:52:ad:20:57:b8:39:30:3f:e3 - f7:8f:d4:40:32:22:71:cd:a8:ed:85:f1:48:0b:f0:40 - d4:32:0f:40:41:de:08:9d:50:8f:61:13:65:b2:ff:63 - f6:a0:55:32:36:62:5f:b8:68:04:2f:24:d6:56:8d:91 - de:13:21:d5:7a:cd:eb:77:f8:ce:45:a7:f5:bd:96:fc - 45:23:5c:8f:5f:0f:f1:58:ce:ca:f5:1d:e7:7a:9b:a7 - 2a:78:ae:1a:68:c1:b1:a7:3f:64:70:94:16:a2:5a:1f - 3e:4a:a5:7c:8c:a5:21:f5:19:35:ce:9c:82:85:3a:57 - 4a:e0:d6:0e:ce:30:8e:47:d6:7e:93:ad:e8:24:f6:7e - 73:b4:7d:70:a0:19:ec:31:11:85:2f:17:e8:c8:b2:91 - 0d:ac:84:36:3a:f2:2e:c7:49:97:7d:0f:2e:68:2e:51 - fa:dd:eb:db:8b:fb:56:25:21:bd:98:4f:d4:6a:66:2e - cc:e4:4a:47:83:cd:c2:2c:5a:29:06:ed:7a:20:d4:e7 - dc:0a:6b:31:f9:c9:03:46:22:a3:12:1a:43:60:4a:c8 - fd:41:6d:8d:3e:4c:8d:b2:4b:b3:08:fd:38:7f:be:d5 - ff:04:a9:ba:6e:4f:23:28:32:b8:b8:9d:81:ef:40:f9 - 5b:b1:79:be:6f:ed:70:52:f1:9a:77:5a:7e:fc:25:8a - e5: - -public exponent: - 01:00:01: - -private exponent: - 00:ae:08:f9:f3:41:c2:fa:b6:67:b9:b7:33:50:06:a6 - 08:5b:76:7b:18:07:53:59:30:2d:8b:b6:65:57:88:79 - 0a:33:c5:4f:f4:87:5c:f7:34:b9:06:38:2b:e8:1b:b6 - fa:33:06:04:9d:b4:2b:8a:e2:12:51:df:76:65:0a:18 - 69:9f:69:e5:d4:bb:09:37:90:95:10:68:74:f3:bd:1e - 53:72:96:d3:19:79:f5:2b:2a:54:c6:a6:6b:c5:c8:3b - 70:7e:fd:43:e3:aa:b9:43:b4:0c:ff:cf:d9:6d:12:92 - d4:7d:53:a9:25:21:ef:c5:88:4d:1a:8b:48:ca:45:20 - fe:91:56:dc:f5:8e:92:df:1c:57:9e:e1:1e:c2:3d:89 - 0e:8e:03:03:ea:20:f8:02:f2:60:1d:43:e0:0b:d3:44 - 24:8e:0c:ed:bf:43:f5:bd:49:6b:91:0b:72:a4:f2:3d - 2f:8e:cc:3d:54:7e:de:fe:1a:96:41:4e:5d:87:9f:84 - 5b:3c:92:8c:a7:73:e4:00:6a:13:02:44:d7:ad:89:31 - 50:ee:d2:ec:af:6e:47:e4:9b:59:3d:93:58:d5:71:1e - 64:f7:ac:68:85:ca:86:f7:6a:25:b0:ff:56:77:af:f4 - 50:43:49:0b:22:31:6b:79:6f:f2:74:df:7c:1b:e1:4d - 12:e7:ba:1e:65:38:ad:27:38:3b:50:6d:d0:e6:36:0e - b9:25:27:d8:31:e4:2e:be:01:b4:d8:fe:70:d2:12:ff - bb:7b:3f:f4:dc:51:83:17:33:8e:26:68:d1:89:3e:e5 - 67:00:72:e0:0f:92:83:ba:62:55:db:ae:84:7d:5e:cc - 7f:72:d0:dc:f3:88:9e:22:07:78:9a:e1:4e:e3:34:30 - 14:56:fb:80:93:f2:be:c3:cd:70:1b:fe:b0:da:41:3c - 28:9f:a8:0e:1c:79:1b:52:9a:a8:a8:cf:0e:16:f9:c0 - db:99:e9:df:4a:c3:66:7c:4f:a1:27:eb:f0:06:5e:4d - 41: - -prime1: - 00:f7:41:ab:a5:a1:23:37:e6:be:fe:85:e9:96:30:1b - c4:33:50:c8:85:5e:44:46:51:1d:3d:28:8a:21:58:2d - 3b:82:11:dc:bc:0d:76:c5:20:45:a2:34:c9:cb:85:3b - de:76:06:bc:c1:9f:4d:39:c3:63:ad:5d:0d:fe:bc:ab - 3f:2c:76:67:29:d9:a5:3d:38:af:a3:09:ff:09:ec:e9 - 15:85:04:e6:70:87:2e:ee:a0:78:26:73:a0:74:60:18 - ad:f7:8c:1a:f3:4c:07:53:b9:b8:9d:a6:d1:3f:8b:a3 - 13:87:16:a0:40:11:36:9b:f4:1e:b1:ba:b9:00:34:15 - d2:29:0d:e8:90:f7:c5:dc:c1:93:d3:e5:6e:6c:13:24 - 0f:11:cb:0d:37:ea:f9:f9:89:8e:91:71:4f:1d:5b:17 - f8:aa:94:8d:43:bf:ac:dd:d6:ec:3c:bc:70:d1:51:13 - 76:77:ef:9a:91:6d:4d:59:32:e6:97:93:d8:bb:14:60 - fd: - -prime2: - 00:c0:89:79:a8:73:86:20:c7:e9:0d:35:56:a4:d0:a8 - 37:21:76:25:e9:2f:9f:c0:e6:45:f6:27:54:56:4a:dd - 0e:c5:43:e4:ec:c5:20:97:16:5b:fc:ef:86:57:b1:e6 - ce:8b:e9:58:d4:a4:c3:a0:6d:f6:57:6d:8a:09:eb:d1 - de:63:42:81:76:9f:4c:40:f7:48:d3:99:1b:23:7d:eb - 8e:52:7b:e8:94:94:f3:d5:49:49:6e:da:38:c2:f6:b6 - 0e:27:7a:f9:4d:2b:6c:aa:a0:de:c7:b1:78:06:ee:7c - 5f:7e:33:6d:05:44:9b:9a:ca:90:12:61:a4:96:46:9b - 66:d1:8b:4c:e9:f1:21:2f:6c:26:aa:4f:56:3d:d7:03 - 8c:bf:33:24:a5:01:f5:87:a3:b2:d9:2b:82:2b:42:c4 - 5a:5d:40:84:d2:d8:7d:29:6f:69:21:a2:0b:ca:7c:46 - 34:b7:8f:29:11:2f:62:3e:87:a0:62:50:34:21:89:4a - 09: - -coefficient: - 0b:7d:31:bf:b5:89:0a:c8:2c:28:4c:41:98:ee:6f:55 - e5:69:d3:b2:1c:66:c4:da:1d:79:2d:8b:03:28:30:a3 - c9:6f:7e:94:a2:72:76:ce:1a:32:27:c6:f9:78:ae:d7 - d0:d8:af:a1:76:54:ff:2b:97:a4:5d:b5:ea:f6:a5:b3 - 08:a1:9c:46:7c:7d:80:38:32:a9:e4:09:7d:b0:e4:1f - e2:e8:e0:ef:84:f4:07:8e:4c:bc:02:72:ad:43:e6:c7 - 5a:e7:77:d1:81:27:8e:a6:bb:23:dd:14:69:cb:08:02 - 68:97:b8:ff:7f:c0:4f:43:86:d1:d8:8e:7e:9a:ae:1d - c5:ee:ae:19:03:d9:cb:f1:31:b5:7b:72:6c:cb:f8:d1 - c1:07:9a:e5:09:8f:2a:7a:92:4b:e9:1e:a0:7d:aa:ae - bd:87:60:be:77:b7:ab:de:c9:54:13:e9:6a:3c:82:cb - 94:e2:4c:bc:35:36:12:d6:0f:e1:77:58:ff:08:4e:38 - - -exp1: - 00:cb:b2:2f:5d:91:45:b9:5d:00:86:20:fe:51:fb:aa - 34:55:ee:3c:74:1b:37:f6:12:07:1b:86:55:5d:a9:0e - 02:93:62:71:cd:fe:ed:94:f2:c4:4b:20:60:0a:a9:e5 - ab:9c:e2:6a:08:bd:5b:5a:b6:0c:5d:1b:67:57:30:49 - 88:0e:f2:30:85:3a:c7:b5:8b:08:af:31:a2:09:a4:42 - 55:b7:33:55:40:e9:2d:91:eb:63:70:92:1b:63:24:73 - d0:86:3a:c7:4d:1e:9a:7e:b0:67:56:81:c2:ab:2e:37 - 97:f3:d7:81:07:a6:e6:ad:4e:4d:27:30:64:0e:b5:da - 30:3c:20:38:33:8d:dc:54:c4:a9:2b:8d:3d:0e:0e:2a - cb:bb:65:e3:aa:e8:8b:2d:b7:d4:5b:1f:d5:04:a3:32 - 39:6b:16:5c:d6:ae:87:14:6f:66:49:97:18:fe:68:63 - b7:5a:91:6b:6e:59:74:ba:82:83:93:e6:7a:4b:8d:3b - 65: - -exp2: - 17:76:29:1e:ff:c4:ce:65:cd:de:50:2b:98:b5:dc:69 - ab:68:2c:42:78:0d:2d:82:61:f0:16:e6:ce:05:1d:5e - d9:66:e6:94:7b:88:f7:20:40:61:58:06:b4:d4:f6:dd - 20:6b:74:e9:a4:92:3a:10:6c:3e:47:18:d5:10:a9:68 - 42:0c:2e:9e:77:d6:e0:eb:c1:32:17:ac:18:ed:15:31 - 28:97:f4:c5:76:49:28:2a:60:0a:64:09:1a:a8:d9:92 - 6b:f9:2e:3b:db:18:c8:ca:05:9b:ab:e2:86:65:b5:3e - 25:b0:ba:8e:33:c8:0a:5a:b8:a7:a4:c2:5b:95:8b:06 - 42:6e:89:16:d0:cd:4c:6c:0f:62:1d:7c:d2:d8:4a:94 - 72:10:17:5d:0c:1a:11:47:3f:59:fb:55:47:54:41:7d - 09:73:fd:3b:7c:29:f4:4c:a1:30:fa:00:19:d2:7e:f3 - 99:92:96:5c:83:bb:a3:06:ff:e2:3b:07:bf:36:6d:91 - - - -Public Key PIN: - pin-sha256:PbmtyJHWZjCUw6fCLCaAjguYDFU4CDEaD02/yWpD5bI= -Public Key ID: - sha256:3db9adc891d6663094c3a7c22c26808e0b980c553808311a0f4dbfc96a43e5b2 - sha1:376bdb931c697e924c6bdf7385f8849659814f6b - ------BEGIN RSA PRIVATE KEY----- -MIIG5AIBAAKCAYEAufYIYdFLn8Xo8a3c0cUj7s9WEUYKDE6ETmsNFdZee2hKqP2L -i9bSr+vPjgMfi2UfxX/+i9x6LGqsIUxXVgrKlOf7R8bFg/runUI+4X1mZMJwdBc1 -POhjkdfRbtfOdu1LtztW4Pc2tnyrAtmhcNHUCXNGRfDNpFKtIFe4OTA/4/eP1EAy -InHNqO2F8UgL8EDUMg9AQd4InVCPYRNlsv9j9qBVMjZiX7hoBC8k1laNkd4TIdV6 -zet3+M5Fp/W9lvxFI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ecule/default/tests/data/x509/parameters-mandatory_https.cert.pem b/roles/php_website/molecule/default/tests/data/x509/parameters-mandatory_https.cert.pem deleted file mode 100644 index bc7391d7f7dcef9483fcf77bba1156b0b102c796..0000000000000000000000000000000000000000 --- a/roles/php_website/molecule/default/tests/data/x509/parameters-mandatory_https.cert.pem +++ /dev/null @@ -1,25 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIEPTCCAqWgAwIBAgIMWWX+oThEKLhgljoeMA0GCSqGSIb3DQEBCwUAMEgxIjAg -BgNVBAMTGUV4YW1wbGUgSW5jLiBUZXN0IFNpdGUgQ0ExFTATBgNVBAoTDEV4YW1w -bGUgSW5jLjELMAkGA1UEBhMCU0UwHhcNMTcwNzEyMTA0OTA1WhcNMjcwNzEwMTA0 -OTA1WjBWMTAwLgYDVQQDEydFeGFtcGUgSW5jLiBNYW5kYXRvcnkgUGFyYW1ldGVy -cyBTZXJ2ZXIxFTATBgNVBAoTDEV4YW1wbGUgSW5jLjELMAkGA1UEBhMCU0UwggEi -MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC6vLawuI/fmX3bwCXhpNKqhX/D -qJYd+stvBl+ZLONSz2bVVjUWaXyWev5mpfssQdqE4r+IZa8LfN5feAxJV7y38BrF -GkP3GkSt/4CaFcsHvePhC7pgjQfuYGckE8DL+9Lg6GAG9JwgTf3Cit4e472fOMds -9Ls19ZWKaOfNgbFxPfiW6aacwbJgwn/k9JzsDKTAWbgG50dVphlqxNvC99L0uX33 -x2Y5iZ9AVt96KlKhD/QWw2xTp9fgSnbF9uT9F4HE+bmiy2Px7Eha78UITG+MtvHD -9VTfFyD1qu7iKOIQ149lKSoBkDFv/mOAzpNAvKgUlKHtzBRNiZ6AdUzxIruLAgMB -AAGjgZgwgZUwDAYDVR0TAQH/BAIwADAfBgNVHREEGDAWghRwYXJhbWV0ZXJzLW1h -bmRhdG9yeTATBgNVHSUEDDAKBggrBgEFBQcDATAPBgNVHQ8BAf8EBQMDB6AAMB0G -A1UdDgQWBBQGNznT+HVeXivdjlHHOS7Cf3Ei2DAfBgNVHSMEGDAWgBQ3a9uTHGl+ -kkxr33OF+ISWWYFPazANBgkqhkiG9w0BAQsFAAOCAYEAlCRoTzsXeTtCf7Uu8oLM -HIN4aqboCBshpgeKy8OXIlMQCAE/bCnsfxh8yDThsTXBfFoPwR+DfuAU7ygBauam -zUSpfd78rUZDngJjIc+Nb88L71WP/8U2j+L1Ph4m8gcJMV5fUkDJCFtJF4ne5di5 -JLtFF8iy0+EOR+1ohI3TkUibSa7kpxyBe3dOs2Fi+HYZP+aXsCb1ydJdyg4cHpQS -yEDP7rSYICiHZQJ6E/gUeUB4iWyqSnK5KF49oUOiKe0NEqko7yCL91r/2C+HzlFN -zpWJMVMSyJg3wK65a7KIhfs1kk6BSrMHlmIRVyK8c3FB0oJPewn9lA4dRzV6tv0K -3AUsPbmZUBmJIdUkPLefc4ADxTgiSqMZzmxOIgZ/RWicyavS8lnSF+nt1IfSwBXt -bsATIGyJVTkmlpdu+2qBl8h7v25MUyo3ukXTj84v28+mFa5/FJY33m5VEHd2+aBq -Unlm+9vAP4g1O+r7dLRe3T0t0vNfPKLUOlTkcf5W5YO8 ------END CERTIFICATE----- diff --git a/roles/php_website/molecule/default/tests/data/x509/parameters-mandatory_https.key.pem b/roles/php_website/molecule/default/tests/data/x509/parameters-mandatory_https.key.pem deleted file mode 100644 index d0e8368d416ad13094ab467eb8aace3ed3ecd315..0000000000000000000000000000000000000000 --- a/roles/php_website/molecule/default/tests/data/x509/parameters-mandatory_https.key.pem +++ /dev/null @@ -1,134 +0,0 @@ -Public Key Info: - Public Key Algorithm: RSA - Key Security Level: Medium (2048 bits) - -modulus: - 00:ba:bc:b6:b0:b8:8f:df:99:7d:db:c0:25:e1:a4:d2 - aa:85:7f:c3:a8:96:1d:fa:cb:6f:06:5f:99:2c:e3:52 - cf:66:d5:56:35:16:69:7c:96:7a:fe:66:a5:fb:2c:41 - da:84:e2:bf:88:65:af:0b:7c:de:5f:78:0c:49:57:bc - b7:f0:1a:c5:1a:43:f7:1a:44:ad:ff:80:9a:15:cb:07 - bd:e3:e1:0b:ba:60:8d:07:ee:60:67:24:13:c0:cb:fb - d2:e0:e8:60:06:f4:9c:20:4d:fd:c2:8a:de:1e:e3:bd - 9f:38:c7:6c:f4:bb:35:f5:95:8a:68:e7:cd:81:b1:71 - 3d:f8:96:e9:a6:9c:c1:b2:60:c2:7f:e4:f4:9c:ec:0c - a4:c0:59:b8:06:e7:47:55:a6:19:6a:c4:db:c2:f7:d2 - f4:b9:7d:f7:c7:66:39:89:9f:40:56:df:7a:2a:52:a1 - 0f:f4:16:c3:6c:53:a7:d7:e0:4a:76:c5:f6:e4:fd:17 - 81:c4:f9:b9:a2:cb:63:f1:ec:48:5a:ef:c5:08:4c:6f - 8c:b6:f1:c3:f5:54:df:17:20:f5:aa:ee:e2:28:e2:10 - d7:8f:65:29:2a:01:90:31:6f:fe:63:80:ce:93:40:bc - a8:14:94:a1:ed:cc:14:4d:89:9e:80:75:4c:f1:22:bb - 8b: - -public exponent: - 01:00:01: - -private exponent: - 00:b9:9b:21:2a:fe:07:63:04:39:68:d6:cf:d0:3b:f7 - 78:ae:40:93:c5:59:90:6a:db:11:7b:90:41:bb:b0:27 - 7b:26:87:1d:ac:9e:9e:32:cb:8f:6c:95:b2:9c:b9:1c - ab:8a:31:a6:96:78:1b:48:9b:d0:9b:ab:c2:ea:93:5e - 6c:a5:26:b6:8a:a8:cb:4f:3c:bc:85:9c:d9:8a:97:c7 - 16:23:0e:68:8d:d3:b1:da:14:41:95:c2:f2:2f:4b:90 - fd:c5:b6:b2:db:b6:fe:07:cd:fd:50:04:9f:4a:ac:aa - a9:3b:d2:5c:a5:d3:fe:8a:1f:1c:f7:b0:8f:3f:3d:93 - 83:86:6f:1c:63:a2:38:9d:10:61:5d:c6:3d:1f:69:0a - 8d:74:b4:4f:86:37:35:7e:18:4a:46:36:6e:bb:c2:e0 - 41:eb:73:79:4d:31:3d:77:7b:9c:7a:32:9e:23:ec:c7 - ea:b8:88:64:04:ab:0c:cf:17:61:9c:52:75:5e:4c:52 - 00:2f:f2:52:ed:85:34:90:5b:ec:ed:49:54:7d:d8:cd - a5:de:6a:fe:27:0f:95:36:ec:86:7c:48:83:55:65:85 - f3:18:2c:6f:c4:f2:67:1a:83:27:16:46:51:2a:65:0c - 71:40:60:4e:37:01:32:5d:1f:db:a2:20:3b:95:70:5c - 01: - -prime1: - 00:e0:32:54:65:59:d6:ee:33:df:fb:2d:18:d7:ac:f3 - eb:02:55:b6:bb:ee:df:b8:c2:20:0c:34:72:ca:1b:f6 - 7f:73:32:24:07:6d:36:71:ec:7f:fd:7c:ab:96:69:02 - eb:b3:06:f2:93:02:b7:24:bf:42:e8:2f:86:49:ec:1e - 3d:ea:f8:e9:49:a2:d1:20:ae:a2:1c:e7:0d:0f:03:d3 - 0f:d6:1f:e6:95:ad:a1:2a:60:cc:4d:42:0a:61:e3:80 - 95:11:e9:24:59:ec:be:39:c2:d8:8e:72:bd:65:d3:8a - 3a:fe:e5:1a:3b:60:32:06:72:89:28:63:73:d3:fc:33 - 81: - -prime2: - 00:d5:3a:0c:a3:2f:c8:ec:8a:54:a3:17:3c:69:16:5f - c5:24:64:9a:7d:6b:b6:45:42:a3:6f:21:54:32:87:75 - e1:ce:79:15:00:3d:e2:f9:4a:a3:56:b3:8f:27:42:9f - fb:99:b9:db:54:78:60:39:80:b2:d7:d7:af:d8:21:be - e9:13:a3:75:10:1b:70:6a:76:2c:64:55:b5:49:f4:1a - 44:c5:f7:76:f7:2f:e9:0e:f7:59:53:0d:69:8a:90:3a - 3c:ce:91:ea:be:5f:41:0e:9a:5b:2a:20:41:e0:0b:48 - 20:5a:2b:e9:82:6a:36:52:c6:f0:9d:45:06:91:cb:05 - 0b: - -coefficient: - 00:aa:63:6b:eb:8e:4c:be:d9:06:22:b5:3b:e0:3e:5d - 38:00:0f:93:a5:26:d1:d2:05:2a:a0:54:0c:de:f8:cc - f6:4a:bd:de:ea:fc:a2:bb:32:17:76:3a:2a:df:c2:7d - 1e:25:ea:5c:b6:8a:af:24:3d:f4:69:3d:9a:28:e5:3e - 88:f9:c6:43:bb:d6:73:ba:68:c0:bc:7f:27:c8:ec:66 - 08:ae:04:c2:57:5d:08:d9:4d:70:16:ff:08:de:35:38 - f4:fc:f1:f3:34:0a:60:0a:ea:1b:b6:6b:43:58:cd:93 - 55:e7:a3:1d:2c:31:35:8e:e0:a7:cc:a5:2f:01:54:c2 - ed: - -exp1: - 13:fe:c9:22:24:ea:13:62:93:06:5e:d6:49:5e:06:7f - 1e:3d:30:c8:00:1c:f9:e8:6e:5d:48:4c:38:94:57:de - b4:12:73:be:29:d2:62:44:ba:81:8c:1d:ed:93:3e:0c - 71:72:1c:2e:5a:5e:a5:2b:5d:b7:41:8d:d3:87:f8:86 - 83:2f:61:f7:0c:4b:64:83:ce:b7:8f:2f:cd:f8:04:59 - f4:39:f2:21:c5:53:8b:69:08:af:97:45:3f:c7:bf:8f - 0c:02:e4:18:15:12:3e:2a:8f:8f:dc:d1:e1:84:05:5f - 0f:9e:b5:41:38:6a:1d:c3:17:52:7f:d4:33:c2:d9:81 - - -exp2: - 00:92:6e:86:25:3f:78:bd:b1:16:04:d6:bd:3e:f2:05 - 9d:2e:ac:04:48:a3:c3:0d:f7:80:a3:9e:00:e3:9e:91 - 7f:1c:3b:9d:07:88:78:aa:78:ee:89:69:50:a3:46:a6 - f5:b3:91:a6:a5:70:f1:ac:2b:cd:26:5b:d2:40:1c:94 - ae:1e:35:7f:fc:2a:cb:dd:e1:00:05:7b:b2:bf:71:ea - e4:56:0b:e7:60:44:3f:ca:6e:65:a2:9a:b0:63:5f:3f - 0f:69:51:5e:23:94:e8:e9:ad:69:74:19:a9:03:c2:db - aa:94:22:59:ff:9d:0f:67:73:85:e4:8b:75:c2:83:e9 - 17: - - -Public Key PIN: - pin-sha256:qnrjJeVsbRTJbJQvzhLlL3Jiaht8wuoG+J6gyJLBXHA= -Public Key ID: - sha256:aa7ae325e56c6d14c96c942fce12e52f72626a1b7cc2ea06f89ea0c892c15c70 - sha1:063739d3f8755e5e2bdd8e51c7392ec27f7122d8 - ------BEGIN RSA PRIVATE KEY----- -MIIEpQIBAAKCAQEAury2sLiP35l928Al4aTSqoV/w6iWHfrLbwZfmSzjUs9m1VY1 -Fml8lnr+ZqX7LEHahOK/iGWvC3zeX3gMSVe8t/AaxRpD9xpErf+AmhXLB73j4Qu6 -YI0H7mBnJBPAy/vS4OhgBvScIE39woreHuO9nzjHbPS7NfWVimjnzYGxcT34lumm -nMGyYMJ/5PSc7AykwFm4BudHVaYZasTbwvfS9Ll998dmOYmfQFbfeipSoQ/0FsNs -U6fX4Ep2xfbk/ReBxPm5ostj8exIWu/FCExvjLbxw/VU3xcg9aru4ijiENePZSkq -AZAxb/5jgM6TQLyoFJSh7cwUTYmegHVM8SK7iwIDAQABAoIBAQC5myEq/gdjBDlo -1s/QO/d4rkCTxVmQatsRe5BBu7AneyaHHayenjLLj2yVspy5HKuKMaaWeBtIm9Cb -q8Lqk15spSa2iqjLTzy8hZzZipfHFiMOaI3TsdoUQZXC8i9LkP3FtrLbtv4Hzf1Q -BJ9KrKqpO9JcpdP+ih8c97CPPz2Tg4ZvHGOiOJ0QYV3GPR9pCo10tE+GNzV+GEpG -Nm67wuBB63N5TTE9d3ucejKeI+zH6riIZASrDM8XYZxSdV5MUgAv8lLthTSQW+zt -SVR92M2l3mr+Jw+VNuyGfEiDVWWF8xgsb8TyZxqDJxZGUSplDHFAYE43ATJdH9ui -IDuVcFwBAoGBAOAyVGVZ1u4z3/stGNes8+sCVba77t+4wiAMNHLKG/Z/czIkB202 -cex//XyrlmkC67MG8pMCtyS/QugvhknsHj3q+OlJotEgrqIc5w0PA9MP1h/mla2h -KmDMTUIKYeOAlRHpJFnsvjnC2I5yvWXTijr+5Ro7YDIGcokoY3PT/DOBAoGBANU6 -DKMvyOyKVKMXPGkWX8UkZJp9a7ZFQqNvIVQyh3XhznkVAD3i+UqjVrOPJ0Kf+5m5 -21R4YDmAstfXr9ghvukTo3UQG3BqdixkVbVJ9BpExfd29y/pDvdZUw1pipA6PM6R -6r5fQQ6aWyogQeALSCBaK+mCajZSxvCdRQaRywULAoGAE/7JIiTqE2KTBl7WSV4G -fx49MMgAHPnobl1ITDiUV960EnO+KdJiRLqBjB3tkz4McXIcLlpepStdt0GN04f4 -hoMvYfcMS2SDzrePL834BFn0OfIhxVOLaQivl0U/x7+PDALkGBUSPiqPj9zR4YQF -Xw+etUE4ah3DF1J/1DPC2YECgYEAkm6GJT94vbEWBNa9PvIFnS6sBEijww33gKOe -AOOekX8cO50HiHiqeO6JaVCjRqb1s5GmpXDxrCvNJlvSQByUrh41f/wqy93hAAV7 -sr9x6uRWC+dgRD/KbmWimrBjXz8PaVFeI5To6a1pdBmpA8LbqpQiWf+dD2dzheSL -dcKD6RcCgYEAqmNr645MvtkGIrU74D5dOAAPk6Um0dIFKqBUDN74zPZKvd7q/KK7 -Mhd2Oirfwn0eJepctoqvJD30aT2aKOU+iPnGQ7vWc7powLx/J8jsZgiuBMJXXQjZ -TXAW/wjeNTj0/PHzNApgCuobtmtDWM2TVeejHSwxNY7gp8ylLwFUwu0= ------END RSA PRIVATE KEY----- diff --git a/roles/php_website/molecule/default/tests/data/x509/parameters-optional.local_https.cert.pem b/roles/php_website/molecule/default/tests/data/x509/parameters-optional.local_https.cert.pem deleted file mode 100644 index adf594bbe08a5d5ba003ff957e765ef81f94b93e..0000000000000000000000000000000000000000 --- a/roles/php_website/molecule/default/tests/data/x509/parameters-optional.local_https.cert.pem +++ /dev/null @@ -1,25 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIEQTCCAqmgAwIBAgIMWWX+owIH0dRWzGCiMA0GCSqGSIb3DQEBCwUAMEgxIjAg -BgNVBAMTGUV4YW1wbGUgSW5jLiBUZXN0IFNpdGUgQ0ExFTATBgNVBAoTDEV4YW1w -bGUgSW5jLjELMAkGA1UEBhMCU0UwHhcNMTcwNzEyMTA0OTA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vNwQl3THYChTqH9NF6hcRFnkkK8Ovd96MbkZPLpzS3ealsDsVD -GXvBnvqbsbeka/EIvspm7q/4mDzOJU/SHR7AYW00zXcPOgzUCE4ztIfmOQyen3p9 -E3cUFpe+P1bYNEuBJiJDp1eQuVFcPXFC/Ev78t/o3rW5Mq+6fl30iCOeteu3Sft5 -EGigtDMMS7pu6jaQdl+EF6CTbeDNc6dfllvlHXUNrn9c6huoXg== ------END CERTIFICATE----- diff --git a/roles/php_website/molecule/default/tests/data/x509/parameters-optional.local_https.key.pem b/roles/php_website/molecule/default/tests/data/x509/parameters-optional.local_https.key.pem deleted file mode 100644 index cee6e8cf546a6cc55593d98ab358e9360d1e2f08..0000000000000000000000000000000000000000 --- a/roles/php_website/molecule/default/tests/data/x509/parameters-optional.local_https.key.pem +++ /dev/null @@ -1,134 +0,0 @@ -Public Key Info: - Public Key Algorithm: RSA - Key Security Level: Medium (2048 bits) - -modulus: - 00:aa:34:af:0c:cf:eb:b6:50:50:c4:96:38:f5:cb:02 - 34:3b:70:ba:98:ab:23:ed:bf:c5:1d:4d:f1:a9:07:b2 - da:bd:15:46:df:4e:a9:ec:de:76:c8:a9:e4:69:81:e4 - d4:fd:bc:8d:c8:b7:a9:23:9d:76:6b:76:bc:c8:39:4f - e2:c5:39:01:07:92:91:f1:a9:f3:d6:cb:d8:a8:c6:23 - c8:0a:7e:d9:ea:29:46:20:61:fc:49:59:f8:58:91:0c - e0:e6:37:17:a5:d2:32:df:05:c1:d7:b2:e8:fa:2b:ba - 65:da:ec:2d:2c:27:97:85:19:60:63:87:9e:c5:83:79 - 0f:41:c9:dd:45:dd:a2:ec:59:a1:88:a8:35:e1:ae:ec - 94:0a:b9:02:67:ab:a1:fc:4c:ae:96:45:c0:37:7b:6b - ed:ae:7a:ec:ce:7e:02:f0:27:69:50:08:80:94:c9:1b - f7:1d:55:6a:9d:2a:d1:de:af:01:2d:66:6b:6c:bc:19 - 7f:7f:06:58:c4:f2:d1:83:a4:1a:26:c1:25:91:bc:47 - 32:6c:d6:22:68:06:1b:2b:d1:5a:0c:63:be:52:61:9b - 48:ed:49:c5:d6:05:24:78:62:d1:de:c6:5d:8a:84:d9 - b7:a0:fd:8a:90:a1:66:34:c9:2a:e4:77:cb:4c:4e:d5 - 5f: - -public exponent: - 01:00:01: - -private exponent: - 0b:cf:19:f2:16:9e:f1:08:43:82:50:35:e5:7f:cf:48 - 56:73:6c:ce:d8:d8:e6:4e:ee:db:28:a4:42:a9:01:14 - c2:17:ae:d2:21:80:12:aa:20:ad:ad:73:e6:8a:17:99 - 5b:7d:70:8c:e3:89:3d:aa:58:23:fe:99:fc:7e:55:77 - 93:5d:70:1f:d9:60:7c:d6:e0:cf:1f:57:89:e6:2d:67 - 5c:ab:0e:6d:7b:ad:9c:e3:8f:80:7b:58:8a:b4:8d:a3 - 30:f5:d3:93:32:b1:4a:dd:f8:64:01:ca:be:48:b8:67 - 06:b8:6a:2d:ed:15:4b:2b:c6:8f:41:42:97:cb:96:63 - 86:9d:56:86:bf:77:5e:78:b5:25:fa:3f:2f:3d:6b:35 - 0b:55:28:35:eb:b9:21:0a:a6:d2:9f:01:2d:85:7b:0b - 13:a5:2f:fc:c6:cd:30:c4:11:5d:4d:10:53:58:c5:3c - 3e:c4:33:4d:fc:d2:87:39:32:07:fc:33:17:87:cf:fe - 97:80:6a:3e:ee:23:f1:3b:c1:bf:75:3d:f4:5e:66:a0 - 4e:bb:5d:e1:19:0b:46:8c:d0:2c:c3:af:67:4a:cd:2a - af:75:e7:5a:9b:3c:20:2d:b1:0c:50:6f:cd:df:63:58 - 92:e1:d9:54:71:56:49:b2:f6:15:8b:20:ea:8e:f1:b1 - - -prime1: - 00:c8:e0:d2:f7:f9:60:de:bc:3f:0e:13:b5:d8:95:82 - 45:bb:8c:bd:4f:5e:ce:f5:cd:86:65:c6:bc:57:18:74 - 29:5f:24:ac:73:a9:91:83:cc:af:b5:bb:1b:09:7f:22 - 48:bd:0d:e1:54:00:9e:38:12:a5:af:1b:5d:68:41:7f - f4:29:2c:09:0f:c7:2d:d4:fb:93:bd:37:3b:17:30:f1 - 9e:2c:89:77:28:7c:32:25:a6:23:8a:14:c4:20:4c:cf - c1:98:e6:c3:f6:f4:b8:d8:3a:f9:35:34:eb:cf:16:29 - aa:3b:04:28:0f:33:50:d1:2f:28:3e:ff:0f:91:c1:16 - 59: - -prime2: - 00:d8:e9:33:82:fb:d7:6c:40:90:e3:72:42:95:7a:ca - 62:a8:e7:b8:9e:b1:a8:06:57:14:13:1d:e8:50:d6:b0 - cb:df:2b:b5:68:04:21:b9:c0:e7:5a:c5:56:a8:55:b5 - 9c:cf:64:6a:24:0e:30:f2:20:33:1d:8e:29:39:db:85 - 32:68:8b:55:e1:a0:5b:b5:6e:6c:72:0a:6d:74:d6:7f - 08:6f:9c:4c:dc:9f:57:00:a5:75:23:ac:b5:74:1c:50 - 42:36:92:07:6a:99:cf:41:3e:20:f3:cd:3a:a7:0a:67 - 50:53:c3:e3:14:90:1a:bc:51:56:90:02:4e:85:ce:c2 - 77: - -coefficient: - 39:5e:cf:1f:d8:53:3f:67:b4:63:b2:9f:65:db:a4:94 - 50:a8:19:59:64:ad:88:17:65:16:6f:49:aa:1a:e0:e4 - ea:aa:7e:0b:6f:ea:4c:6a:32:3d:2a:89:7d:7e:33:20 - d1:d3:9a:97:de:ba:33:0e:a0:3f:9f:43:ee:01:9e:eb - be:67:97:8c:4e:ce:21:44:c2:db:8a:3c:d7:11:26:b3 - df:ba:c8:a0:a5:20:80:10:91:6c:08:8b:0d:85:22:45 - f1:43:5a:a1:4f:d4:7a:fd:88:f2:95:e3:c0:65:d2:a8 - 22:de:01:3f:cf:14:73:9a:47:3a:ca:f5:dc:d1:0f:e3 - - -exp1: - 37:97:88:ab:19:b7:c6:4c:80:82:cb:cf:a2:8d:d5:cc - a8:97:cd:78:5e:bb:95:e8:f8:0d:c8:8f:2c:e7:56:96 - 70:7f:3c:be:91:a9:f4:b8:bb:d3:e6:61:18:22:b8:01 - 3b:58:d1:08:27:57:a2:1a:ff:01:53:e8:68:c6:df:bb - 59:7d:97:50:67:85:f6:90:5d:15:9b:68:5e:05:ac:88 - 62:b8:f4:62:1e:e4:dd:e8:79:a3:68:15:d2:fe:8e:ec - 7b:fd:39:34:6a:0b:91:c3:d8:5d:f2:34:64:4e:34:df - a8:8f:80:ea:9b:ff:fc:b4:39:46:1d:de:58:2f:00:99 - - -exp2: - 43:20:d8:9a:3e:ca:4a:6c:28:ea:da:df:94:57:2d:ef - 1e:8a:a7:ee:24:d8:f5:2d:59:bf:18:d0:5e:c4:32:6e - c5:a0:47:41:eb:95:6c:61:30:b8:3c:be:36:d6:5f:a0 - 29:e6:cf:9a:5c:f1:f4:dc:d6:34:dd:5c:10:d5:c9:00 - f2:ad:bc:64:59:36:48:8d:e5:ed:dd:20:46:ba:63:11 - ff:48:85:d8:f9:4e:f9:9a:3b:08:51:58:ce:98:3c:96 - 61:41:0c:1e:87:7f:46:97:ad:a7:05:ea:92:eb:7b:51 - b6:ba:b6:ba:14:66:d1:c4:f2:5f:1a:f7:a6:1d:78:bd - - - -Public Key PIN: - pin-sha256:OMrWS5FJrq5sJaVDE5uZXDmmld1GvcRBcDQ89/bO+LU= -Public Key ID: - sha256:38cad64b9149aeae6c25a543139b995c39a695dd46bdc44170343cf7f6cef8b5 - sha1:57aaeae1bee72d5f465d2ecbdc810b3d675a49bd - ------BEGIN RSA PRIVATE KEY----- -MIIEogIBAAKCAQEAqjSvDM/rtlBQxJY49csCNDtwupirI+2/xR1N8akHstq9FUbf -Tqns3nbIqeRpgeTU/byNyLepI512a3a8yDlP4sU5AQeSkfGp89bL2KjGI8gKftnq -KUYgYfxJWfhYkQzg5jcXpdIy3wXB17Lo+iu6ZdrsLSwnl4UZYGOHnsWDeQ9Byd1F -3aLsWaGIqDXhruyUCrkCZ6uh/EyulkXAN3tr7a567M5+AvAnaVAIgJTJG/cdVWqd -KtHerwEtZmtsvBl/fwZYxPLRg6QaJsElkbxHMmzWImgGGyvRWgxj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+Zo7CFFYzpg8lmFBDB6Hf0aXracF6pLre1G2ura6FGbRxPJfGvem -HXi9AoGAOV7PH9hTP2e0Y7KfZduklFCoGVlkrYgXZRZvSaoa4OTqqn4Lb+pMajI9 -Kol9fjMg0dOal966Mw6gP59D7gGe675nl4xOziFEwtuKPNcRJrPfusigpSCAEJFs -CIsNhSJF8UNaoU/Uev2I8pXjwGXSqCLeAT/PFHOaRzrK9dzRD+M= ------END RSA PRIVATE KEY----- diff --git a/roles/php_website/molecule/default/tests/data/x509/php-website_https.cert.pem b/roles/php_website/molecule/default/tests/data/x509/php-website_https.cert.pem deleted file mode 100644 index 2d4b68d83c733dd000ae7170a467dcc34ccaef90..0000000000000000000000000000000000000000 --- a/roles/php_website/molecule/default/tests/data/x509/php-website_https.cert.pem +++ /dev/null @@ -1,25 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIEJzCCAo+gAwIBAgIMWWX+oDKiBggzNMY3MA0GCSqGSIb3DQEBCwUAMEgxIjAg -BgNVBAMTGUV4YW1wbGUgSW5jLiBUZXN0IFNpdGUgQ0ExFTATBgNVBAoTDEV4YW1w -bGUgSW5jLjELMAkGA1UEBhMCU0UwHhcNMTcwNzEyMTA0OTA0WhcNMjcwNzEwMTA0 -OTA0WjBJMSMwIQYDVQQDExpFeGFtcGUgSW5jLiBEZWZhdWx0IFNlcnZlcjEVMBMG -A1UEChMMRXhhbXBsZSBJbmMuMQswCQYDVQQGEwJTRTCCASIwDQYJKoZIhvcNAQEB -BQADggEPADCCAQoCggEBAM+Kri2/p+kpdEBESZm+2IvF4gMHxNCL0PRcJH0L3Kz+ -kgwraqFsjTdAD1ZexwmaDS2qZGoIhA75mf1qVo0P4bIvsa/eQin/hl0lFauUl8/a -TzIy8KFCGl31uWvuXcEYFxjAv0Grgh2SNec8/1EH6CPWuUWET0M5o5UdZszetLli -8b71EsiLYzdf9J62RYCHY/AZsVt2Syz4mHnOb4kJx6QdM7sKwxhA7u2YhCG6Oqr9 -z7xZB3H4p6jnfknYoHaITE1s8uMwDQawVWnrCda4lFEWkcrTLwHHyUrEaI0BcQCg -aHQeGAiJdHnH1hHkMCSpRV6b7Ij/7YaG1U/mAdZf6TkCAwEAAaOBjzCBjDAMBgNV -HRMBAf8EAjAAMBYGA1UdEQQPMA2CC3BocC13ZWJzaXRlMBMGA1UdJQQMMAoGCCsG -AQUFBwMBMA8GA1UdDwEB/wQFAwMHoAAwHQYDVR0OBBYEFO1iutDZDxdUHIJrJFTg -aAPTyXQJMB8GA1UdIwQYMBaAFDdr25McaX6STGvfc4X4hJZZgU9rMA0GCSqGSIb3 -DQEBCwUAA4IBgQC1gTFE+53E/AkwZAYC8JWz9L0187mJ6VncOvq4Q6uyIcWrFgk3 -nfP/NWn/HDIcGjLWiNmXI7FnYyqNc9EiSC/2Tm+LcueJi4lMMkj/1hZr2Y2hOqvr -s12AkFmjP9c42xl9lZpMl5A+sziGExMwesiTCXc+ms9djaksl317vYKPlBw742Bw -v1Fnoozyc21xO5ehHwAM5vCE8v86yIQ6LHte3VFymDq1Nvjrg1uwDhtM7uwrDX4y -u0H5jNZWhxpAMnpyVO2GjdV4cakXdQ7kSQFGDwIAhGprizA7aYdTPYvRnEWMzfq0 -UxJvwbWckYfkt5ILUczZ5I1OhUCAc7La/gnfT9CEgykrz2bYi5M/auz8SIYJLaeo -nRVUt4yudHpPxh/tNF7bfXEUT95ZC6KTkj6FFU3BGN1f4cyGIodrm6M+VpKMo9oA -QuWwY455IYWzZVaSwrTJD6G33oVZT1fc5c0Uf+8wstYQsyqQIeQyfsVNlIJu1No1 -qeBwir+hP0mPWxQ= ------END CERTIFICATE----- diff --git a/roles/php_website/molecule/default/tests/data/x509/php-website_https.key.pem b/roles/php_website/molecule/default/tests/data/x509/php-website_https.key.pem deleted file mode 100644 index e2d8eca4a7d14d8a6a0d25e3fc5eb1aa9871888b..0000000000000000000000000000000000000000 --- a/roles/php_website/molecule/default/tests/data/x509/php-website_https.key.pem +++ /dev/null @@ -1,134 +0,0 @@ -Public Key Info: - Public Key Algorithm: RSA - Key Security Level: Medium (2048 bits) - -modulus: - 00:cf:8a:ae:2d:bf:a7:e9:29:74:40:44:49:99:be:d8 - 8b:c5:e2:03:07:c4:d0:8b:d0:f4:5c:24:7d:0b:dc:ac - fe:92:0c:2b:6a:a1:6c:8d:37:40:0f:56:5e:c7:09:9a - 0d:2d:aa:64:6a:08:84:0e:f9:99:fd:6a:56:8d:0f:e1 - b2:2f:b1:af:de:42:29:ff:86:5d:25:15:ab:94:97:cf - da:4f:32:32:f0:a1:42:1a:5d:f5:b9:6b:ee:5d:c1:18 - 17:18:c0:bf:41:ab:82:1d:92:35:e7:3c:ff:51:07:e8 - 23:d6:b9:45:84:4f:43:39:a3:95:1d:66:cc:de:b4:b9 - 62:f1:be:f5:12:c8:8b:63:37:5f:f4:9e:b6:45:80:87 - 63:f0:19:b1:5b:76:4b:2c:f8:98:79:ce:6f:89:09:c7 - a4:1d:33:bb:0a:c3:18:40:ee:ed:98:84:21:ba:3a:aa - fd:cf:bc:59:07:71:f8:a7:a8:e7:7e:49:d8:a0:76:88 - 4c:4d:6c:f2:e3:30:0d:06:b0:55:69:eb:09:d6:b8:94 - 51:16:91:ca:d3:2f:01:c7:c9:4a:c4:68:8d:01:71:00 - a0:68:74:1e:18:08:89:74:79:c7:d6:11:e4:30:24:a9 - 45:5e:9b:ec:88:ff:ed:86:86:d5:4f:e6:01:d6:5f:e9 - 39: - -public exponent: - 01:00:01: - -private exponent: - 16:70:9a:30:9c:1e:5d:99:7b:d6:4f:0b:de:31:c2:5c - 2a:83:2b:6c:b5:9d:0e:e1:02:ea:cb:8f:31:af:24:8d - 49:e1:42:f8:7e:87:ac:25:23:2a:05:5e:ae:0a:9d:bb - 7b:0a:87:5c:e7:9a:cf:bb:b1:28:b3:4c:b4:67:d9:31 - 58:f2:cf:5f:2a:ac:3b:d2:9d:53:9b:2a:38:20:c9:fa - 82:c1:9c:bc:63:d3:2f:e2:a4:e4:ed:84:92:62:84:66 - 4a:e8:dc:45:0f:74:3c:1a:48:f5:bd:a4:a5:70:43:6b - 4c:96:2f:ac:04:9d:f2:27:7b:c1:f8:11:82:aa:eb:b8 - 53:0b:57:2d:23:77:5f:7e:db:42:24:48:90:42:83:81 - 2a:77:65:e7:09:44:45:8d:af:55:ad:70:b0:5f:40:d3 - 3a:60:c7:4f:74:b5:8f:c1:0e:0f:9b:de:3a:46:42:f2 - 3a:f5:61:07:69:c1:f8:84:12:a0:06:db:56:93:9b:2a - 2c:4e:6b:9e:80:62:05:22:ed:2c:a5:d6:44:3a:5e:d9 - 5a:d1:85:77:4c:18:b8:fb:a1:d1:c7:eb:a3:38:d3:cd - 77:40:df:31:04:0e:e0:41:6c:87:2a:5e:c3:9f:5a:ae - 14:ec:48:b8:17:9c:97:85:2a:69:a5:ae:66:a9:81:d9 - - -prime1: - 00:f8:52:52:4c:64:0a:ce:74:24:04:ca:f5:b5:bb:9a - e8:f2:b2:a5:dd:cd:7f:7f:8c:1f:05:8c:03:24:98:8b - b9:84:6b:f7:bd:d3:16:a9:02:f9:57:38:55:55:ed:6b - e6:ca:b8:e1:5f:c0:b9:4e:91:45:c0:0b:56:9e:78:d7 - 77:91:ac:bc:3f:24:ac:a6:78:d0:9f:76:3f:0d:44:7f - 24:af:bc:42:6c:a0:13:cb:80:ea:9e:b3:f7:9d:b0:6d - f6:d5:4b:0f:54:4a:33:ad:14:a8:ce:13:45:96:28:f1 - 9a:04:7e:c0:af:46:3c:ad:9d:8c:a2:9c:e5:5e:3f:95 - 77: - -prime2: - 00:d5:f5:8d:27:43:76:93:3c:aa:f4:f9:4c:a5:0b:ab - 88:dd:28:06:6a:d4:ad:f3:70:c7:14:46:d1:56:ee:c5 - 2f:0d:1c:62:8a:dc:06:ec:70:1d:8f:9f:8c:4b:dc:a0 - fa:56:75:8f:09:7f:57:66:2b:3e:76:01:fb:20:bc:d0 - a1:98:8a:87:d2:81:22:2e:78:9c:00:08:72:d9:9d:97 - 2b:9e:70:5d:86:13:ce:5e:f8:6e:b1:18:51:11:38:55 - bd:9f:a5:f8:83:9b:a8:10:f0:9e:1b:53:98:19:4a:e5 - ee:da:48:08:12:12:8a:38:df:f7:24:ca:ce:b5:d5:e2 - cf: - -coefficient: - 00:c6:ec:ef:74:02:6c:63:f1:86:87:d8:06:56:38:a0 - 9c:65:e2:63:af:8b:ef:db:f6:ca:a7:2e:50:6c:37:8a - 97:52:71:92:45:64:cd:24:23:c5:60:67:46:fa:5c:f8 - ec:59:e3:bd:bb:9e:23:28:da:30:0f:82:3b:9b:75:9d - 78:b5:cb:35:53:5c:64:6e:f7:2a:21:e2:56:76:ae:90 - 8e:03:ca:7b:0b:b2:c4:15:47:3d:e3:bf:4e:8b:29:22 - e3:19:f1:2f:f5:e0:bf:d7:5c:2b:6a:72:22:02:0b:f7 - 8e:f8:7f:e2:d1:e8:5c:6c:87:d4:8b:a3:9c:89:5b:c8 - 2d: - -exp1: - 52:32:fd:e7:27:9e:a4:24:b1:df:9c:47:a5:b6:ca:5a - 9e:2c:20:d7:c1:34:99:46:0a:e6:cd:28:25:2f:11:e1 - 81:42:34:29:f3:fc:26:4a:43:bb:69:7c:66:0b:47:92 - 88:3c:96:ee:19:5f:bd:f0:3c:c4:8b:7c:4a:cc:f9:96 - 2c:f4:9f:03:cf:e2:0e:e1:23:3e:05:e8:6d:3d:e5:50 - 81:93:b1:f1:3f:34:0e:43:48:66:ec:6f:e5:15:07:f1 - 93:3d:5b:7f:ad:68:59:bc:e2:fc:04:49:1e:a1:c3:08 - 16:c0:d6:8b:ae:96:5b:6a:31:a9:8a:82:2a:a6:a5:95 - - -exp2: - 1c:d6:50:a5:07:19:b7:34:89:12:25:7b:a8:0f:0f:9a - 8d:bc:34:49:37:cb:0e:31:98:13:6a:8c:12:7c:72:05 - 2a:6e:35:f5:e3:3b:e7:a8:20:c3:d7:cc:2f:f9:57:95 - 06:0c:28:30:2e:82:98:19:a1:fc:83:bd:d6:26:bc:b3 - da:fc:68:db:fd:5d:9f:07:d0:76:cc:ac:b6:19:e0:63 - 17:a2:ab:68:43:c9:1f:d1:ba:11:92:66:72:bc:b6:09 - ad:b7:cf:eb:e5:11:dc:de:a1:60:ab:7e:a7:82:09:c5 - 8c:94:02:ca:74:c7:3e:6d:29:41:43:38:63:17:a5:cf - - - -Public Key PIN: - pin-sha256:JzWbO4UUeR5RKGR+1GIKd0ednHH1nuphxf0KBBlCYCk= -Public Key ID: - sha256:27359b3b8514791e5128647ed4620a77479d9c71f59eea61c5fd0a0419426029 - sha1:ed62bad0d90f17541c826b2454e06803d3c97409 - ------BEGIN RSA PRIVATE KEY----- -MIIEowIBAAKCAQEAz4quLb+n6Sl0QERJmb7Yi8XiAwfE0IvQ9FwkfQvcrP6SDCtq -oWyNN0APVl7HCZoNLapkagiEDvmZ/WpWjQ/hsi+xr95CKf+GXSUVq5SXz9pPMjLw -oUIaXfW5a+5dwRgXGMC/QauCHZI15zz/UQfoI9a5RYRPQzmjlR1mzN60uWLxvvUS -yItjN1/0nrZFgIdj8BmxW3ZLLPiYec5viQnHpB0zuwrDGEDu7ZiEIbo6qv3PvFkH -cfinqOd+SdigdohMTWzy4zANBrBVaesJ1riUURaRytMvAcfJSsRojQFxAKBodB4Y -CIl0ecfWEeQwJKlFXpvsiP/thobVT+YB1l/pOQIDAQABAoIBABZwmjCcHl2Ze9ZP -C94xwlwqgytstZ0O4QLqy48xrySNSeFC+H6HrCUjKgVergqdu3sKh1znms+7sSiz -TLRn2TFY8s9fKqw70p1Tmyo4IMn6gsGcvGPTL+Kk5O2EkmKEZkro3EUPdDwaSPW9 -pKVwQ2tMli+sBJ3yJ3vB+BGCquu4UwtXLSN3X37bQiRIkEKDgSp3ZecJREWNr1Wt -cLBfQNM6YMdPdLWPwQ4Pm946RkLyOvVhB2nB+IQSoAbbVpObKixOa56AYgUi7Syl -1kQ6Xtla0YV3TBi4+6HRx+ujONPNd0DfMQQO4EFshypew59arhTsSLgXnJeFKmml -rmapgdkCgYEA+FJSTGQKznQkBMr1tbua6PKypd3Nf3+MHwWMAySYi7mEa/e90xap -AvlXOFVV7WvmyrjhX8C5TpFFwAtWnnjXd5GsvD8krKZ40J92Pw1EfySvvEJsoBPL -gOqes/edsG321UsPVEozrRSozhNFlijxmgR+wK9GPK2djKKc5V4/lXcCgYEA1fWN -J0N2kzyq9PlMpQuriN0oBmrUrfNwxxRG0VbuxS8NHGKK3AbscB2Pn4xL3KD6VnWP -CX9XZis+dgH7ILzQoZiKh9KBIi54nAAIctmdlyuecF2GE85e+G6xGFEROFW9n6X4 -g5uoEPCeG1OYGUrl7tpICBISijjf9yTKzrXV4s8CgYBSMv3nJ56kJLHfnEeltspa -niwg18E0mUYK5s0oJS8R4YFCNCnz/CZKQ7tpfGYLR5KIPJbuGV+98DzEi3xKzPmW -LPSfA8/iDuEjPgXobT3lUIGTsfE/NA5DSGbsb+UVB/GTPVt/rWhZvOL8BEkeocMI -FsDWi66WW2oxqYqCKqallQKBgBzWUKUHGbc0iRIle6gPD5qNvDRJN8sOMZgTaowS -fHIFKm419eM756ggw9fML/lXlQYMKDAugpgZofyDvdYmvLPa/Gjb/V2fB9B2zKy2 -GeBjF6KraEPJH9G6EZJmcry2Ca23z+vlEdzeoWCrfqeCCcWMlALKdMc+bSlBQzhj -F6XPAoGBAMbs73QCbGPxhofYBlY4oJxl4mOvi+/b9sqnLlBsN4qXUnGSRWTNJCPF -YGdG+lz47FnjvbueIyjaMA+CO5t1nXi1yzVTXGRu9yoh4lZ2rpCOA8p7C7LEFUc9 -479Oiyki4xnxL/Xgv9dcK2pyIgIL9474f+LR6Fxsh9SLo5yJW8gt ------END RSA PRIVATE KEY----- diff --git a/roles/php_website/molecule/default/tests/test_parameters_mandatory.py b/roles/php_website/molecule/default/tests/test_parameters_mandatory.py index 1479de163d1f7692150e2f0e3cf51fead3dec811..d14b84f1943b574710b176957a98bbf6db4feb6c 100644 --- a/roles/php_website/molecule/default/tests/test_parameters_mandatory.py +++ b/roles/php_website/molecule/default/tests/test_parameters_mandatory.py @@ -160,14 +160,14 @@ def test_nginx_tls_files(host): assert tls_file.user == 'root' assert tls_file.group == 'root' assert tls_file.mode == 0o640 - assert tls_file.content_string == open("tests/data/x509/parameters-mandatory_https.key.pem", "r").read().rstrip() + assert tls_file.content_string == open("tests/data/x509/server/parameters-mandatory_https.key.pem", "r").read().rstrip() tls_file = host.file('/etc/ssl/certs/parameters-mandatory_https.pem') assert tls_file.is_file assert tls_file.user == 'root' assert tls_file.group == 'root' assert tls_file.mode == 0o644 - assert tls_file.content_string == open("tests/data/x509/parameters-mandatory_https.cert.pem", "r").read().rstrip() + assert tls_file.content_string == open("tests/data/x509/server/parameters-mandatory_https.cert.pem", "r").read().rstrip() def test_certificate_validity_check_configuration(host): diff --git a/roles/php_website/molecule/default/tests/test_parameters_optional.py b/roles/php_website/molecule/default/tests/test_parameters_optional.py index aca89c8220004a58e992ed279ebec48ef6bc366d..ca4d2fdfe71df227fae4144884a65dffa0cf2ce7 100644 --- a/roles/php_website/molecule/default/tests/test_parameters_optional.py +++ b/roles/php_website/molecule/default/tests/test_parameters_optional.py @@ -154,14 +154,14 @@ def test_nginx_tls_files(host): assert tls_file.user == 'root' assert tls_file.group == 'root' assert tls_file.mode == 0o640 - assert tls_file.content_string == open("tests/data/x509/parameters-optional.local_https.key.pem", "r").read().rstrip() + assert tls_file.content_string == open("tests/data/x509/server/parameters-optional_https.key.pem", "r").read().rstrip() tls_file = host.file('/etc/ssl/certs/parameters-optional.local_https.pem') assert tls_file.is_file assert tls_file.user == 'root' assert tls_file.group == 'root' assert tls_file.mode == 0o644 - assert tls_file.content_string == open("tests/data/x509/parameters-optional.local_https.cert.pem", "r").read().rstrip() + assert tls_file.content_string == open("tests/data/x509/server/parameters-optional_https.cert.pem", "r").read().rstrip() def test_certificate_validity_check_configuration(host):