--- http_interactions: - request: method: get uri: https://myhost.com:2087/json-api/generatessl?city=houston&co=Company&cod=Dept&country=US&email=test@myhost.com&host=myhost.com&noemail=1&pass=abc123&state=TX&xemail= body: encoding: US-ASCII string: '' headers: Authorization: - WHM root:iscool User-Agent: - Faraday v0.8.8 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - '*/*' response: status: code: 200 message: OK headers: Server: - cpsrvd/11.36.0.4 X-Keep-Alive-Count: - '1' Connection: - Keep-Alive Keep-Alive: - timeout=70, max=200 Transfer-Encoding: - chunked Date: - Mon, 30 Sep 2013 17:23:25 GMT Content-Type: - application/json body: encoding: UTF-8 string: '{"results":{"keyfile":"/etc/ssl/private/myhost.com.key","key":"-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEAry12Tc5QYp+Po8GqJGElloBHHyisMbbvpgJIfdekCkhiPlwU\n8Fe+VTE6vfZnVeQcojSuoK1tLJ4mErjs3j+TxCIYpIGB4A2BC8ifCgUuG+cLWqCz\nZ2Gh0YdZebrP1cgJAwE4VSz0w5xpLrxxoh26mHH15yXPlHtERcH4mwaEth4O9sAi\nCpOmt/Xbhmfv46sqyc7GdRHduQFc7J3P0SsEcpuliSkGIWeBpfEd8HX4/dr2rPTr\n5mrialS9J1iXBUl4Hdr//hMU8nHGdcyqDfvcUoL4SpprS6p8bag7Fziv6+Qf536C\nSRBuBabqCEKkVzCbjQfFiCFSOoeQaVBput8FfQIDAQABAoIBABGOVNTnYFcB9rtK\npWqP8dxrbrVItjklRE82210BR4dgSbhGMjMEGCchj+mJ0EFjYxs+fGHN/6sBDn/B\n2LtNU9nMMPwLnqB9ufkcWhP/AOf698BVaqVpu3XsQqNYfYvHSF/st2CR6NXRzxjH\n+fttT04H3cUUnQEceXMkRW4D8TjvD8dlVO8ST9AumzGTYe1cJtNqPAksUF0OpHlD\n2wAsUSTTCECAEiQGiUtioKor/ZhszHfKDZ1Y5btOyO6SyIvcYsPdBCzjla74RS0v\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ST-----\nMIIC3zCCAccCAQAwgYIxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJUWDEQMA4GA1UE\nBxMHaG91c3RvbjEQMA4GA1UEChMHQ29tcGFueTENMAsGA1UECxMERGVwdDETMBEG\nA1UEAxMKbXlob3N0LmNvbTEeMBwGCSqGSIb3DQEJARYPdGVzdEBteWhvc3QuY29t\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAry12Tc5QYp+Po8GqJGEl\nloBHHyisMbbvpgJIfdekCkhiPlwU8Fe+VTE6vfZnVeQcojSuoK1tLJ4mErjs3j+T\nxCIYpIGB4A2BC8ifCgUuG+cLWqCzZ2Gh0YdZebrP1cgJAwE4VSz0w5xpLrxxoh26\nmHH15yXPlHtERcH4mwaEth4O9sAiCpOmt/Xbhmfv46sqyc7GdRHduQFc7J3P0SsE\ncpuliSkGIWeBpfEd8HX4/dr2rPTr5mrialS9J1iXBUl4Hdr//hMU8nHGdcyqDfvc\nUoL4SpprS6p8bag7Fziv6+Qf536CSRBuBabqCEKkVzCbjQfFiCFSOoeQaVBput8F\nfQIDAQABoBcwFQYJKoZIhvcNAQkHMQgTBmFiYzEyMzANBgkqhkiG9w0BAQUFAAOC\nAQEAYkuEipJOC8xWCl6xxve4o/VMB9iSPcSyA2M7HomeJrmKtub/WwdJFS1vUErO\n1bxZp/Qk3f5DX59d+AkZuIvhGo0duVANJBynmQK29QnXdmcV2vMreuHvJ0rGURU3\nQx4oxrAjj7tcThsgRn3u+4KrXyWfcfWjEm+5NJ9FPpLzqybWMB/DOVn70sG5W8OR\nL24c6S7d8CZyNKG9esNWLFQc34CoI7bYi4dspwvuzGrd//iBmIudeTRdII5e8fwe\neeXZddvYUJ8peCiIty1SbNnPoJB6c8mtUNZDGpS3V+t88InK4fGFyc7M2FJSeIBp\nZHdCng5R0+pVcc8mlT3GLIZUKg==\n-----END CERTIFICATE REQUEST-----\n","sender_host":"opsbox.local.net","status":1,"cert":"-----BEGIN CERTIF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MAsGA1UECxMERGVwdDETMBEGA1UEAxMKbXlob3N0LmNvbTEeMBwG\nCSqGSIb3DQEJARYPdGVzdEBteWhvc3QuY29tggkA7zRCmZ3R3XwwDAYDVR0TBAUw\nAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAcxEf/OwotN/yJPduIW/SVemOJAHkACKd\nqswP6cefiiHwAuPWB2ZTS4qncqgodgSAt22TKKNtX60RDZ2qhE0YdtTb0OIyn1kP\nK0zp/YgjU+ifucXhTtmGXim0Gy2BKeWijsthe+d4OJz0z9fWzwu6jbz7+xQqAkHj\n2W3zMjsq8ZqGk0FUJeF3DIIfd+w/U+bUDG8zQ3Iranx3Co923s49jihCyUMyH45w\nyiQz0oaDTUmi+2soJXgw+jqPubMuKAtxcXK6A+6ybkaub5LxTtKSFHzuKg2TtiXn\n4asc4y276ANpgprjZu7BIR/HILkvlKlIvm/DHgIaQkirlldvMOfHig==\n-----END CERTIFICATE-----\n","statusmsg":"Key, Certificate, and CSR generated OK","message":"Key, Certificate, and CSR generated OK","csrfile":"/etc/ssl/certs/myhost.com.csr"}}' http_version: recorded_at: Mon, 30 Sep 2013 17:21:28 GMT - request: method: get uri: https://myhost.com:2087/json-api/generatessl?city=houston&co=Foo%20%26%20Bar&cod=Dept&country=US&email=test@myhost.com&host=myhost.com&noemail=1&pass=abc123&state=TX&xemail= body: encoding: US-ASCII string: '' headers: Authorization: - WHM root:iscool User-Agent: - Faraday v0.8.8 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - '*/*' response: status: code: 200 message: OK headers: Server: - cpsrvd/11.36.0.4 X-Keep-Alive-Count: - '1' Connection: - Keep-Alive Keep-Alive: - timeout=70, max=200 Transfer-Encoding: - chunked Date: - Mon, 30 Sep 2013 17:23:28 GMT Content-Type: - application/json body: encoding: UTF-8 string: '{"results":{"sender":"admin","statusmsg":"Key, Certificate, and CSR generated OK","message":"Key, Certificate, and CSR generated OK","keyfile":"/etc/ssl/private/myhost.com.key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4nqP68SHz61TGB3PDD66Xh1fzzddB5N5votS4vxujolb9OPy\n0BqoHXM6FAXHwbK03x1QDw1/Atq0S8y/FhrdadkDo8fpo8FikBKfyKdFA3m57A==\n-----END CERTIFICATE-----\n","sender_host":"opsbox.local.net"}}' http_version: recorded_at: Mon, 30 Sep 2013 17:21:30 GMT recorded_with: VCR 2.4.0