API Module SSL reissueSslCertRequest

From Openprovider API documentation

Jump to: navigation, search

Contents

Module SSL certificates > Reissue Order

Module SSL certificates
Command name reissueSslCertRequest
Use Use this call to reissue an issued SSL certificate
Input
  • id
  • csr
  • softwareId (linux or windows)
  • hostNames
  • organizationHandle
  • technicalHandle
  • approverEmail
  • signatureHashAlgorithm (sha1 or sha2 (default) for all certificate types. sha256-ecc-full or sha256-ecc-hybrid for Secure Site Pro and Scure Site Pro with EV certificates.)
  • domainValidationMethods
Output
  • id

Examples

Using PHP class

$request = new OP_Request;
$request->setCommand('reissueSslCertRequest')
  ->setAuth(array('username' => 'username', 'password' => 'password'))
  ->setArgs(array(
    'id' => 12345,
    'csr' => '-----BEGIN CERTIFICATE REQUEST-----
MIIC1jCCAb4CAQAwgZAxCzAJBgNVBAYTAk5MMRUwEwYDVQQIEwxadWlkLUhvbGxh
bmQxEjAQBgNVBAcTCU1hYXNzbHVpczEPMA0GA1UEChMGUm9vcmRhMRgwFgYDVQQD
Ew91a2tpZXB1a2tpZXMubmwxKzApBgkqhkiG9w0BCQEWHG9wZW5wcm92aWRlckBz
aWVtZW5yb29yZGEubmwwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCU
dalT1PfBYE0FuMMvcHwF7TCKD0lAAijpokwUza9U5BweUokN90WrjrGnEevPs5TR
Mu0gFk5gBBvREvTe14grcWmfnYrDA/C520f8rQbZ94usVDts6hEy5BcpB5yDbiIs
h/CJ/0KF47IIbqrt/uSEgSw8UBW4+RuGXl6SMaj+VCY9RPn2pNRecOjD4vD4XOjd
4/T04n/xwaFNBeoWnS82EK2mPFviPyhupxAUi45hGxI4ZOOz7xYFYsIBD8T3GvMh
8M/efgYlmcZtsrldF20LcO/XSPgtvxccIgnG8kDVgjHEExPQKSW5VJOPzRnZkbix
bgyeJ7eEafc6sHyHBodhAgMBAAGgADANBgkqhkiG9w0BAQQFAAOCAQEAVJwarWbE
pCRycZYU4RdBBfS0dPw5BscpyUIZr73c6u6UOQbBJXstpfNWCj+uq9B/O4Bwf82W
FBNN4HxCONXC9JllBA/GnaO79MUvDaeompsjOGz+lDW/hFJsfnpztOEk8s04tgz6
V+uXn0Qh7xPCrr5gbntE+N+3xKIOFX6nZBtahKPv240x3ts0FC1z4sPiIjI4P3f2
ql4PFDPxDgmaPGjXsSj1w/K28wTTiQxIxd8jvk9UJTKHTNB5dnQCafFzidkcWuQx
9DoEJsGCUgogPw==
-----END CERTIFICATE REQUEST-----',
    'softwareId' => 'linux',
    'hostNames' => array(
      'www.openprovider.com',
      'www.openprovider.eu',
    ),
    'organizationHandle' => 'GA003358-NL',
    'technicalHandle' => 'GA003358-NL',
    'approverEmail' => 'info@openprovider.nl'
   ));

Raw XML

Please note that newlines and leading spaces are added only for readability. Those whitespaces should be excluded from your XML command before sending it to Openprovider.

<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <credentials>
    <username>username</username>
    <password>password</password>
  </credentials>
  <reissueSslCertRequest>
    <id>12345</id>
    <csr>-----BEGIN CERTIFICATE REQUEST-----
MIIC1jCCAb4CAQAwgZAxCzAJBgNVBAYTAk5MMRUwEwYDVQQIEwxadWlkLUhvbGxh
bmQxEjAQBgNVBAcTCU1hYXNzbHVpczEPMA0GA1UEChMGUm9vcmRhMRgwFgYDVQQD
Ew91a2tpZXB1a2tpZXMubmwxKzApBgkqhkiG9w0BCQEWHG9wZW5wcm92aWRlckBz
aWVtZW5yb29yZGEubmwwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCU
dalT1PfBYE0FuMMvcHwF7TCKD0lAAijpokwUza9U5BweUokN90WrjrGnEevPs5TR
Mu0gFk5gBBvREvTe14grcWmfnYrDA/C520f8rQbZ94usVDts6hEy5BcpB5yDbiIs
h/CJ/0KF47IIbqrt/uSEgSw8UBW4+RuGXl6SMaj+VCY9RPn2pNRecOjD4vD4XOjd
4/T04n/xwaFNBeoWnS82EK2mPFviPyhupxAUi45hGxI4ZOOz7xYFYsIBD8T3GvMh
8M/efgYlmcZtsrldF20LcO/XSPgtvxccIgnG8kDVgjHEExPQKSW5VJOPzRnZkbix
bgyeJ7eEafc6sHyHBodhAgMBAAGgADANBgkqhkiG9w0BAQQFAAOCAQEAVJwarWbE
pCRycZYU4RdBBfS0dPw5BscpyUIZr73c6u6UOQbBJXstpfNWCj+uq9B/O4Bwf82W
FBNN4HxCONXC9JllBA/GnaO79MUvDaeompsjOGz+lDW/hFJsfnpztOEk8s04tgz6
V+uXn0Qh7xPCrr5gbntE+N+3xKIOFX6nZBtahKPv240x3ts0FC1z4sPiIjI4P3f2
ql4PFDPxDgmaPGjXsSj1w/K28wTTiQxIxd8jvk9UJTKHTNB5dnQCafFzidkcWuQx
9DoEJsGCUgogPw==
-----END CERTIFICATE REQUEST-----</csr>
    <softwareId>linux</softwareId>
    <hostNames>
      <array>
        <item>www.openprovider.com</item>
        <item>www.openprovider.eu</item>
      </array>
    </hostNames>
    <organizationHandle>GA003358-NL</organizationHandle>
    <technicalHandle>GA003358-NL</technicalHandle>
    <approverEmail>info@openprovider.nl</approverEmail>
  </reissueSslCertRequest>
</openXML>

<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <reply>
    < code>0</code>
    <desc></desc>
    <data>
      <id>12345</id>
    </data>
  </reply>
</openXML>
Views
Personal tools