Querying trusted CA lists
Querying trusted CA lists request
curl --cookie cookies.txt --request GET https://<IP-address-of-SPS>/api/configuration/policies/trusted_ca_lists |
Querying trusted CA lists response
{ |
"items": [ |
{ |
"body": { |
"authorities": [ |
{ |
"certificate": { |
"fingerprint": { |
"digest": "a2:bf:82:70:db:24:67:84:5f:f4:f7:2b:4e:9a:0d:bd:55:c1:96:0c:04:7d:f2:a3:aa:07:9b:2c:f7:28:99:70", |
"hash_algorithm": "sha256" |
}, |
"issuer": "/C=CA/ST=TheCaState/L=TheCaLocality/O=TheCaOrganization/OU=TheCaOrganizationalUnit/CN=TheCaCommonName/emailAddress=ca@email.io", |
"not_after": "2024-08-10T20:14:39+00:00", |
"not_before": "2014-08-13T20:14:39+00:00", |
"pem": "-----BEGIN CERTIFICATE-----\nMIIGKTCCBBGgAwIBAgIBATANBgkqhkiG9w0BAQ0FADCBrjELMAkGA1UEBhMCQ0Ex\nEzARBgNVBAgMClRoZUNhU3RhdGUxFjAUBgNVBAcMDVRoZUNhTG9jYWxpdHkxGjAY\nBgNVBAoMEVRoZUNhT3JnYW5pemF0aW9uMSAwHgYDVQQLDBdUaGVDYU9yZ2FuaXph\ndGlvbmFsVW5pdDEYMBYGA1UEAwwPVGhlQ2FDb21tb25OYW1lMRowGAYJKoZIhvcN\nAQkBFgtjYUBlbWFpbC5pbzAeFw0xNDA4MTMyMDE0MzlaFw0yNDA4MTAyMDE0Mzla\nMIGuMQswCQYDVQQGEwJDQTETMBEGA1UECAwKVGhlQ2FTdGF0ZTEWMBQGA1UEBwwN\nVGhlQ2FMb2NhbGl0eTEaMBgGA1UECgwRVGhlQ2FPcmdhbml6YXRpb24xIDAeBgNV\nBAsMF1RoZUNhT3JnYW5pemF0aW9uYWxVbml0MRgwFgYDVQQDDA9UaGVDYUNvbW1v\nbk5hbWUxGjAYBgkqhkiG9w0BCQEWC2NhQGVtYWlsLmlvMIICIjANBgkqhkiG9w0B\nAQEFAAOCAg8AMIICCgKCAgEAww6OH1Ve5A5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\nMtPTgaoqb+YMMBv0dZ6vE8U1rZy4nY65c+Nn14Oohd4A0YAkb0LZsuhfA/2tdrNs\n0Q2iCbOZ5uUTzkZE6tOrxkNr4+EqQbk6H0MhsW5W82gP7aI1ZbWYvjv/kLrNdFQf\nIMUE0Or9Ojer0t85lpzKx2A3DnFjWithyBeDnJfVxIMabUtKaV4cRJrJyj/21Jt1\n9vtG6uix0K6Aozmk0DyX/3gH5aNompCS6d942ANGVqQvdsawXAXV6SoIHCtPyRG9\nIQqMlRrBJLZulEfNM91UgDYyS5fBg49Fp6bZwiPFh+mk+p/j4cAQ+kltKQVb9wz7\nPtpVa3h4wEs2RnMs0lnv3i6U1eO+Fx52imDwP2Ik8miaMcyX33b0lWMxkrCWdD0X\n2tjcWpnETbL2yXaXb2GT+mLuDGYdyEM+a6I3xMB4jO4H0EynmM7O/C3f+2NU\n-----END CERTIFICATE-----\n", |
"subject": "/C=CA/ST=TheCaState/L=TheCaLocality/O=TheCaOrganization/OU=TheCaOrganizationalUnit/CN=TheCaCommonName/emailAddress=ca@email.io" |
}, |
"crl": null |
} |
], |
"dn_check": { |
"altEmailAddress": "admin@company", |
"c": "HU", |
"cn": "ldap.company", |
"emailAddress": "administrator@company", |
"l": "Some Street 1", |
"o": "Company", |
"ou": "Security Team", |
"st": "Budapest" |
}, |
"dns_lookup": true, |
"name": "CA-for-LDAP-server-auth", |
"strict_hostcheck": true |
}, |
"key": "544893247544627d36e68e", |
"meta": { |
"href": "/api/configuration/policies/trusted_ca_lists/544893247544627d36e68e" |
} |
}, |
{ |
"body": { |
"authorities": [ |
{ |
"certificate": { |
"fingerprint": { |
"digest": "01:25:1f:a2:df:2a:31:1a:29:7a:ba:43:c4:03:42:a5:d7:30:ec:2d:e0:d7:7a:72:a7:1b:c3:99:c5:6c:10:ea", |
"hash_algorithm": "sha256" |
}, |
"issuer": "/C=HU/ST=Budapest/O=Internet Widgits Pty Ltd", |
"not_after": "2034-06-18T12:36:48+00:00", |
"not_before": "2014-08-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tJspMkKAtVe1CrtnPLiC6JBr0g\n5GZF58sHx5+gO0RkqdzJgRAGnImdfAahqfHmKRFmxoxWLyylRyqDgQ+KqcaDvZI+\ni36M+NQHVrDX4jo4CFoXhFlSOepvtDOpmzoWhugwDNMPuU1IEY7//CJBXQnjp+uf\nLO6PsNmMKDGi9Dk=\n-----END CERTIFICATE-----\n", |
"subject": "/C=HU/ST=Budapest/O=Internet Widgits Pty Ltd" |
}, |
"crl": "http://crl.it.company/security-team" |
}, |
{ |
"certificate": { |
"fingerprint": { |
"digest": "56:83:96:91:ec:95:8b:0a:c5:3c:32:8b:24:29:35:93:9c:09:53:6a:aa:59:dc:3b:3a:ba:b1:42:2d:58:1c:d1", |
"hash_algorithm": "sha256" |
}, |
"issuer": "/C=HU/ST=Budapest/O=Internet Widgits Pty Ltd/CN=Chained CA", |
"not_after": "2042-02-13T13:54:33+00:00", |
"not_before": "2014-09-29T13:54:33+00:00", |
"pem": "-----BEGIN CERTIFICATE-----\nMIIDxzCCAq+gAwIBAgICRWwwDQYJKoZIhvcNAQELBQAwWDELMAkGA1UEBhMCSFUx\nETAPBgNVBAgMCEJ1ZGFwZXN0MSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0\neSBMdGQxEzARBgNVBAMMCkNoYWluZWQgQ0EwHhcNMTQwOTI5MTM1NDMzWhcNNDIw\nMjEzMTM1NDMzWjBaMQswCQYDVQQGEwJIVTERMA8GA1UECAwIQnVkYXBlc3QxITAf\nBgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEVMBMGA1UEAwwMTG93IGxl\ndmVsIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0q11QEkLBq8t\n/jY/p7F6OPEgNVvGpanTtbpKoYLCzUOoEGxQRrNYHd+g2QpUpe/aOYYelH+LCJo1\nc/g1rCiH3ZbyB2ALvORDCifdyJOwFS+kpdVnKw1k1HyrR3mlT4Zimc6zYTTLTnpB\nvCSsFjaq+38fdkjyBPm8A3oi5gg1LuXsWGls/tEZKg0MyQm28W78xLHrxcz0qgOS\nu6PX4ta9uB6siU0RwUQZK9rnG0Amf7XkuQhsVh7FZH5+GfLqMDjiRc4DElIabaHx\nXyzTOVGNTRBt7pRdV7RCGz4zN6qRMgDwrGcuNWoAGTS29tqsvAQwmGNognFOvOPs\nUs/DkSKawQIDAQABo4GYMIGVMBIGA1UdEwEB/wQIMAYBAf8CAQAwLwYDVR0fBCgw\nJjAkoCKgIIYeaHR0cDovL2NybC5kZXZlbC5iYWxhYml0LzEuY3JsMA4GA1UdDwEB\n/wQEAwIBBjAdBgNVHQ4EFgQUSO7MuQhH85oWTTNC4FdvHdW3FT0wHwYDVR0jBBgw\nFoAUmOJaDKbO1mKJ2eO5iTPUXUS5WFgwDQYJKoZIhvcNAQELBQADggEBABReQoBk\nPFl2CcQfJhZRiTOa1Njuj51D/NOVVIKaWHjMkcm2LbC3g58hME5Eh0TZ5t0a9Lbz\nfscn2oSHTviy9Lljb67v4UHQWYtgK6OV9swHgqvHvzdKCO84zWvZrI9kvM2qUo5S\nHIBB8ZtmU+wNL5P5JyAsJ3TFxSwKL5sVbvZkgvnYDRXdGJOORj6hSXWmtYAiTdQ4\ncP3LM65/24TP7ygdnqVIUCbz7vBYAB8ejEYY5lUzeUpyJ7XyQgQNdyp7CPMzILr2\nTnYBxWTBwPi1GVk1AzPlSd3eNQbZfCpxthMIJw2p9nDW5tKmZGoDT31wpQ0BsNud\n38KHwVldP+u5aeE=\n-----END CERTIFICATE-----\n", |
"subject": "/C=HU/ST=Budapest/O=Internet Widgits Pty Ltd/CN=Low level CA" |
}, |
"crl": "http://crl.it.company/end-users" |
} |
], |
"dn_check": { |
"altEmailAddress": null, |
"c": "HU", |
"cn": "$username", |
"emailAddress": "administrator@company", |
"l": null, |
"o": "Company", |
"ou": null, |
"st": "Budapest" |
}, |
"dns_lookup": false, |
"name": "CA-for-user-auth", |
"strict_hostcheck": true |
}, |
"key": "1792500305544627d371c21", |
"meta": { |
"href": "/api/configuration/policies/trusted_ca_lists/1792500305544627d371c21" |
} |
} |
], |
"meta": { |
"first": "/api/configuration/policies/aa_plugin_instances", |
"href": "/api/configuration/policies/trusted_ca_lists", |
"last": "/api/configuration/policies/usermapping_policies", |
"next": "/api/configuration/policies/user_databases", |
"parent": "/api/configuration/policies", |
"previous": "/api/configuration/policies/time_policies", |
"transaction": "/api/transaction" |
} |
} |
Querying a trusted CA list
Querying a trusted CA list request
curl --cookie cookies.txt --request GET https://<IP-address-of-SPS>/api/configuration/policies/trusted_ca_lists/544893247544627d36e68e |
Querying a trusted CA list response
{ |
"key": "544893247544627d36e68e", |
"body": { |
"name": "CA-for-LDAP-server-auth", |
"authorities": [ |
{ |
"certificate": { |
"fingerprint": { |
"digest": "a2:bf:82:70:db:24:67:84:5f:f4:f7:2b:4e:9a:0d:bd:55:c1:96:0c:04:7d:f2:a3:aa:07:9b:2c:f7:28:99:70", |
"hash_algorithm": "sha256" |
}, |
"issuer": "/C=CA/ST=TheCaState/L=TheCaLocality/O=TheCaOrganization/OU=TheCaOrganizationalUnit/CN=TheCaCommonName/emailAddress=ca@email.io", |
"not_after": "2024-08-10T20:14:39+00:00", |
"not_before": "2014-08-13T20:14:39+00:00", |
"subject": "/C=CA/ST=TheCaState/L=TheCaLocality/O=TheCaOrganization/OU=TheCaOrganizationalUnit/CN=TheCaCommonName/emailAddress=ca@email.io", |
"pem": "-----BEGIN CERTIFICATE-----\nMIIGKTCCBBGgAwIBAgIBATANBgkqhkiG9w0BAQ0FADCBrjELMAkGA1UEBhMCQ0Ex\nEzARBgNVBAgMClRoZUNhU3RhdGUxFjAUBgNVBAcMDVRoZUNhTG9jYWxpdHkxGjAY\nBgNVBAoMEVRoZUNhT3JnYW5pemF0aW9uMSAwHgYDVQQLDBdUaGVDYU9yZ2FuaXph\ndGlvbmFsVW5pdDEYMBYGA1UEAwwPVGhlQ2FDb21tb25OYW1lMRowGAYJKoZIhvcN\nAQkBFgtjYUBl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FB2uFEEasuvs54CajKxDHFppfUywMB8GA1Ud\nIwQYMBaAFB2uFEEasuvs54CajKxDHFppfUywMAwGA1UdEwQFMAMBAf8wDQYJKoZI\nhvcNAQENBQADggIBABSwj0DcaloHUkIUw0MJt2NyY2B5MAl+AFXqQ1nRP5iWxTKN\nAwko1J4OjALCKbN64bhA3WUDEFzQpiJtG9StRYoEeYc0MwjTm9FAHsTArdPL7pVu\nxCAJjWOQ9DGXcyI8oMUaRN4i+NzWi2cLSsvpt8BP4eQhgiE7dS5sQJ6D3CgvmuNm\nwzzJxx7DGXmQPCtYfX65QUwZOcbBfw/P8qeNQ2Ua49k01MlCi8z/vciALv14t1gW\nMtPTgaoqb+YMMBv0dZ6vE8U1rZy4nY65c+Nn14Oohd4A0YAkb0LZsuhfA/2tdrNs\n0Q2iCbOZ5uUTzkZE6tOrxkNr4+EqQbk6H0MhsW5W82gP7aI1ZbWYvjv/kLrNdFQf\nIMUE0Or9Ojer0t85lpzKx2A3DnFjWithyBeDnJfVxIMabUtKaV4cRJrJyj/21Jt1\n9vtG6uix0K6Aozmk0DyX/3gH5aNompCS6d942ANGVqQvdsawXAXV6SoIHCtPyRG9\nIQqMlRrBJLZulEfNM91UgDYyS5fBg49Fp6bZwiPFh+mk+p/j4cAQ+kltKQVb9wz7\nPtpVa3h4wEs2RnMs0lnv3i6U1eO+Fx52imDwP2Ik8miaMcyX33b0lWMxkrCWdD0X\n2tjcWpnETbL2yXaXb2GT+mLuDGYdyEM+a6I3xMB4jO4H0EynmM7O/C3f+2NU\n-----END CERTIFICATE-----\n" |
}, |
"crl": null |
} |
], |
"dns_lookup": true, |
"strict_hostcheck": true, |
"dn_check": { |
"cn": "ldap.company", |
"c": "HU", |
"o": "Company", |
"ou": "Security Team", |
"emailAddress": "administrator@company", |
"altEmailAddress": "admin@company", |
"st": "Budapest", |
"l": "Some Street 1" |
} |
}, |
"meta": { |
"first": "/api/configuration/policies/trusted_ca_lists/544893247544627d36e68e", |
"href": "/api/configuration/policies/trusted_ca_lists/544893247544627d36e68e", |
"last": "/api/configuration/policies/trusted_ca_lists/1792500305544627d371c21", |
"next": "/api/configuration/policies/trusted_ca_lists/1792500305544627d371c21", |
"parent": "/api/configuration/policies/trusted_ca_lists", |
"previous": null, |
"transaction": "/api/transaction" |
} |
} |