Certificates / Import
Import a certificate
Bring a certificate you bought elsewhere into Pantech, replace it in place when you renew it, and know when it is about to expire.
If you already have a certificate, for example an extended validation certificate from another authority, import it. Pantech services can then use it like one Pantech issued.
Import
In the console, open Certificates and press Import. Or:
$ pantech certificates import --cert cert.pem --chain chain.pem --key key.pemSend:
- The certificate (
certificate_pem): the leaf, in PEM. - The chain (
chain_pem, optional): the intermediates, each signing the one before. At most 10. - The private key (
private_key_pem): unencrypted PEM, as PKCS #1, PKCS #8 or SEC 1. - Exportable (optional): whether owners and admins may download the key again later. Off by default, and fixed.
Pantech checks it before accepting it:
- The certificate parses, and is not a certificate authority's own certificate.
- Its key is RSA of 2048 to 4096 bits, or ECDSA P-256 or P-384.
- The private key matches the certificate.
- It is valid now: not expired, and not before its start date.
- It names 1 to 100 DNS names, each valid as for a request. Wildcards are fine.
- Everything together is at most 64 KiB.
The key is stored encrypted and never shown again, unless the certificate is exportable and an owner or admin exports it.
An imported certificate reports its own key type: ecdsa-p256, ecdsa-p384, rsa-2048, rsa-3072 or rsa-4096.
Renew an imported certificate
Pantech cannot renew a certificate it did not issue. When you renew it with your authority, reimport it in place: on the certificate's page, press Replace with renewal, or:
$ pantech certificates reimport <certificate> --cert new-cert.pem --chain new-chain.pem --key new-key.pemThe new certificate must have exactly the same names (CERTIFICATE_NAMES_MISMATCH otherwise). It keeps the same id, so anything using it, such as a load balancer, keeps working and picks up the new certificate within a few minutes.
Owners and admins are emailed 30, 7 and 1 days before an imported certificate expires (certificate.expiring), and when it does (certificate.expired).
Revoke or delete
Pantech cannot revoke an imported certificate (CERTIFICATE_NOT_REVOCABLE). Revoke it with the authority that issued it, then delete it from Pantech.