--- http_interactions: - request: method: get uri: https://myhost.com:2087/json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_func=listcrts&cpanel_jsonapi_module=SSL&cpanel_jsonapi_user=lumberg&user=api_username body: string: "" headers: User-Agent: - Faraday v0.8.7 Accept: - "*/*" Authorization: - WHM root:iscool response: status: code: 200 message: OK headers: Server: - cpsrvd/11.32.6.4 Keep-Alive: - timeout=70, max=200 Content-Type: - text/plain; charset="utf-8" Date: - Tue, 04 Jun 2013 19:20:34 GMT Content-Length: - "6983" Connection: - Keep-Alive X-Keep-Alive-Count: - "1" body: string: | {"cpanelresult":{"event":{"result":1},"module":"SSL","apiversion":2,"data":[{"issuer":"another.com","ssltxt":"Certificate:\n Data:\n Version: 3 (0x2)\n Serial Number:\n df:69:16:45:a4:4f:07:18\n Signature Algorithm: sha1WithRSAEncryption\n Issuer: C=US, ST=TX, L=Houston, O=Site5, OU=Eng, CN=another.com/emailAddress=lumberg@initech.com\n Validity\n Not Before: Apr 24 19:32:49 2013 GMT\n Not After : Apr 24 19:32:49 2014 GMT\n Subject: C=US, ST=TX, L=Houston, O=Site5, OU=Eng, CN=another.com/emailAddress=lumberg@initech.com\n Subject Public Key Info:\n Public Key Algorithm: rsaEncryption\n RSA Public Key: (2048 bit)\n Modulus (2048 bit):\n 00:9c:28:5c:e4:06:0a:36:40:8b:b9:dc:c9:cf:0a:\n 40:bd:af:00:15:67:6e:de:d9:51:b5:6f:00:81:4b:\n 60:e9:c9:9a:c1:7e:bf:c7:16:64:d7:37:13:94:72:\n af:9e:a7:62:23:6e:e4:8a:1c:e5:f2:9e:f8:c2:dd:\n fa:73:1a:aa:4a:59:cc:b6:9c:ad:4b:d7:50:fa:6f:\n 5c:4f:d2:37:80:8f:9e:29:95:3f:ff:d8:b0:e8:bf:\n a1:f8:9a:1b:ee:57:85:b5:4b:60:05:42:12:e8:5c:\n 9f:b4:b9:b5:00:34:94:1d:e2:45:e4:4b:69:ff:d2:\n b7:78:e2:66:70:a9:d8:f2:03:8e:48:87:96:17:63:\n b4:2b:18:82:7b:f2:26:f4:e9:56:0c:ce:d5:3f:9e:\n 8b:f2:19:09:70:e9:f6:60:3a:45:f4:8a:25:d5:c2:\n 41:78:a6:63:1e:e4:32:ad:6b:7e:1f:1e:b3:9c:d0:\n c7:2d:9d:ac:a0:aa:5e:51:92:41:78:8a:1b:3f:9a:\n 69:75:1d:b5:f5:85:f6:2e:20:d4:6d:cd:d7:04:53:\n a6:e8:46:9e:3a:1e:19:94:f4:9f:ca:71:5d:52:07:\n ef:3b:6b:1d:7c:94:29:57:a5:37:a3:c9:67:71:13:\n 07:d7:7b:fd:7d:a8:c7:2a:58:29:ee:d7:30:32:03:\n 47:13\n Exponent: 65537 (0x10001)\n X509v3 extensions:\n X509v3 Subject Key Identifier: \n 63:84:90:F1:EF:71:D6:C3:B8:BE:FF:39:59:BC:C3:6A:DA:EB:54:BC\n X509v3 Authority Key Identifier: \n keyid:63:84:90:F1:EF:71:D6:C3:B8:BE:FF:39:59:BC:C3:6A:DA:EB:54:BC\n DirName:/C=US/ST=TX/L=Houston/O=Site5/OU=Eng/CN=another.com/emailAddress=lumberg@initech.com\n serial:DF:69:16:45:A4:4F:07:18\n\n X509v3 Basic Constraints: \n CA:TRUE\n Signature Algorithm: sha1WithRSAEncryption\n 2d:82:a9:62:a1:b2:94:29:57:42:fb:f0:62:e3:94:f9:63:68:\n 69:9b:48:4b:1c:9c:66:b4:55:99:86:73:18:d3:05:29:4a:e8:\n 9c:ac:7b:cc:55:2a:7a:88:bc:4b:f2:55:37:12:b9:8e:46:55:\n f8:94:5c:a6:60:de:de:f1:18:ef:36:83:b0:8b:e8:dd:60:2a:\n c2:f8:a1:42:64:6c:eb:b3:44:df:dc:b9:87:cd:5a:46:4d:4b:\n c5:82:16:fc:42:71:65:9f:75:cd:3f:2d:80:53:5c:81:01:ff:\n e0:f9:43:4c:6d:7d:c1:59:5b:8b:10:e7:c9:b4:d8:79:9a:4e:\n 64:1c:50:7f:ef:22:81:82:75:c6:61:60:9c:fe:9c:95:85:8d:\n 4b:a4:bb:e2:c9:44:f7:2d:1a:42:e7:df:c1:c0:90:ff:61:a0:\n db:a7:b4:65:57:01:39:fe:77:66:28:21:18:6b:10:55:cc:c4:\n ea:8a:a9:22:00:5e:8f:e8:62:8e:22:74:8c:b1:6c:c3:25:79:\n 78:b5:d2:87:04:2f:97:8a:ee:e1:50:79:fa:ce:ae:1c:ed:37:\n 51:f7:5b:49:b5:fb:9f:7e:13:6b:3c:4c:76:3f:bc:25:ad:13:\n f2:f4:fb:74:fc:91:5d:1a:90:4d:5f:57:29:c2:4a:29:c5:89:\n fe:f2:56:da\n","expiredate":"Apr 24 19:32:49 2014 GMT","host":"another.com"},{"issuer":"lumberg-test.com","ssltxt":"Certificate:\n Data:\n Version: 3 (0x2)\n Serial Number:\n a5:24:11:8b:df:b9:92:20\n Signature Algorithm: sha1WithRSAEncryption\n Issuer: C=US, ST=IL, L=Chicago, O=Initech, OU=TPS, CN=lumberg-test.com/emailAddress=lumberg@initech.com\n Validity\n Not Before: Jun 4 18:15:41 2013 GMT\n Not After : Jun 4 18:15:41 2014 GMT\n Subject: C=US, ST=IL, L=Chicago, O=Initech, OU=TPS, CN=lumberg-test.com/emailAddress=lumberg@initech.com\n Subject Public Key Info:\n Public Key Algorithm: rsaEncryption\n RSA Public Key: (2048 bit)\n Modulus (2048 bit):\n 00:a3:6a:04:6f:4f:34:9f:dc:77:4b:b8:02:e6:1b:\n f8:6e:30:26:03:88:81:67:c3:78:9d:c0:6b:31:cf:\n 2a:a4:f7:97:04:a4:b3:59:69:3a:07:c3:6d:c7:4a:\n 21:ca:03:e6:73:72:ba:0f:c2:e0:f7:a0:c0:ab:7e:\n 66:d0:2c:7f:22:ac:6e:28:ef:41:aa:be:57:7c:c5:\n bd:73:47:62:d8:ae:d1:aa:81:2a:be:71:08:9f:f0:\n 54:d5:44:22:a5:b8:93:04:a0:ea:b2:ee:68:62:5d:\n 10:f6:df:2b:22:49:57:f0:c9:9d:e6:e1:dc:52:b9:\n 33:69:a5:7b:e8:56:cb:fd:06:11:5d:ea:55:23:6f:\n f1:72:67:d6:67:93:2c:b7:bf:5e:18:ab:9e:ce:76:\n f7:ac:b9:58:55:6a:77:bc:b2:5b:56:24:87:f5:46:\n e6:ad:ef:a7:01:fe:79:8e:1b:94:5e:10:b0:9a:9c:\n f2:87:54:cd:7e:a4:d6:b6:7d:b9:06:e5:05:0a:87:\n ec:4d:ed:c2:0a:64:32:a2:4a:66:41:d6:0a:e4:10:\n 9c:5f:bd:39:32:b6:09:d4:2b:ad:66:59:aa:c5:84:\n 4a:c7:3b:60:04:2f:96:ae:d6:30:ca:39:f4:35:44:\n 4b:95:65:bb:93:2d:23:d1:7a:53:d7:7d:7e:22:02:\n ce:01\n Exponent: 65537 (0x10001)\n X509v3 extensions:\n X509v3 Subject Key Identifier: \n EF:DC:D2:25:F2:3C:99:C1:37:32:18:2A:DC:C1:D2:80:26:6A:E3:4F\n X509v3 Authority Key Identifier: \n keyid:EF:DC:D2:25:F2:3C:99:C1:37:32:18:2A:DC:C1:D2:80:26:6A:E3:4F\n DirName:/C=US/ST=IL/L=Chicago/O=Initech/OU=TPS/CN=lumberg-test.com/emailAddress=lumberg@initech.com\n serial:A5:24:11:8B:DF:B9:92:20\n\n X509v3 Basic Constraints: \n CA:TRUE\n Signature Algorithm: sha1WithRSAEncryption\n 29:87:d2:12:a6:18:c3:2a:cc:85:3f:5d:f3:82:96:7c:9b:0e:\n 76:38:9b:9c:20:f0:31:25:50:f5:2c:d2:fe:61:09:d1:17:89:\n 2f:45:ae:16:60:a1:6c:de:ab:3d:0b:c9:b3:74:bd:02:83:66:\n 00:50:9c:18:54:f4:15:bf:d4:59:b5:48:6a:36:7e:cf:07:ea:\n 8e:55:90:a6:83:7a:fd:11:e6:14:34:fb:2a:62:ba:38:4d:69:\n f1:9b:d9:51:07:8d:d4:f3:c5:e4:cb:13:dd:19:81:a4:ec:92:\n 77:82:69:ae:0f:59:27:e1:ac:2f:7c:a3:3b:24:92:15:16:6f:\n cf:ca:1c:50:71:85:f1:1c:3e:33:c8:6f:a1:e5:07:89:03:31:\n d4:81:42:ef:25:e9:78:b5:f1:67:70:0e:0f:38:0b:8f:89:aa:\n ab:27:fd:0b:ff:ac:3a:ec:a6:3b:bc:5f:2e:d5:37:7d:05:0e:\n ee:e4:5b:6b:bc:90:10:b5:85:fb:8b:6d:0c:e3:8e:77:e8:1a:\n 73:9c:de:00:33:5e:d1:8e:95:97:08:3d:da:5c:96:f9:6d:5c:\n f1:47:fe:b6:a1:68:16:3c:1d:39:df:ef:68:96:e1:78:91:49:\n b9:ae:35:ed:b9:a3:3e:97:36:c6:79:74:92:6d:8c:d3:2e:c9:\n e0:57:32:b0\n","expiredate":"Jun 4 18:15:41 2014 GMT","host":"lumberg-test.com"}],"func":"listcrts"}} http_version: recorded_at: Tue, 04 Jun 2013 19:20:25 GMT recorded_with: VCR 2.0.1