Certificates / Overview
Certificates
Get free TLS certificates from a publicly trusted certificate authority, validated automatically in Pantech DNS or with one CNAME at any other DNS host, and renewed for you for as long as they exist.
Pantech Certificate Manager gets TLS certificates for your domains from Let's Encrypt, a publicly trusted certificate authority, free. Every browser and client trusts them. Pantech proves you control each name, keeps the private key safe, and renews the certificate before it expires, for as long as you keep it.
A certificate can hold up to 100 names, wildcards included, such as example.com, *.example.com and api.example.org.
You can also import a certificate you bought elsewhere, so Pantech services can use it.
Request a certificate
In the console, open Certificates and press Request certificate. Or:
$ pantech certificates request example.com '*.example.com'The certificate starts as pending_validation. Pantech then proves you control each name, and the certificate authority issues it. When every name is in a Pantech DNS zone, it is usually issued within two minutes.
Choose these when you ask:
- Names: 1 to 100 DNS names. Lower-case; names in other scripts in their
xn--form. The first name is the certificate's common name when it has at most 64 characters. - Key type:
ecdsa-p256(the default, smaller and faster) orrsa-2048(for old clients that need RSA). - Exportable: off by default. Turn it on only if you need the private key on your own servers. You cannot change it later. See Use a certificate on your servers.
- Description: a note for your team.
Certificate authorities publish every certificate they issue in public Certificate Transparency logs, names included. Do not request a certificate for a name you want to keep private.
How Pantech checks your names
Pantech proves control of each name with a DNS record under _acme-challenge.<name>. You never run anything on your servers, and nothing needs an open port. Pantech picks the method for each name:
Names in Pantech DNS
When the name, or for *.example.com the name example.com, is in an active Pantech DNS zone of your organization, Pantech writes the check records into that zone itself and removes them afterwards. Nothing to do, for the first certificate or for any renewal.
The zone must be active: its domain's registrar points at Pantech's name servers. A zone that is still awaiting_delegation does not count.
Names anywhere else: one CNAME
For any other name, the certificate's validations show one CNAME to add at your DNS host, once:
_acme-challenge.api.example.org. CNAME k3x9tq7m2v8r4y1c5d0zp8wabc.acme.pantechdynamics.com.The CNAME points the check at acme.pantechdynamics.com, a validation zone that Pantech operators set up and run. There is nothing for you to create or change there: the only record you add is your own _acme-challenge CNAME. Pantech writes the check records there, so this certificate, every renewal of it, and any later certificate for the same name are all checked automatically, for as long as the CNAME stays. The target is the same every time for your organization and that name.
example.comand*.example.comshare one check name, so they share one CNAME.- Pantech checks for the CNAME every 5 minutes. To check now, press Check now or run
pantech certificates verify <certificate>. - Add the CNAMEs within 72 hours. After that the request fails with
validation_timeout; ask again whenever you are ready. - Only the CNAME target shown to your organization works for you. Another organization that asks for the same name gets its own target, and cannot validate unless the domain's owner publishes theirs.
- If you keep your own CNAME at
_acme-challengein a Pantech DNS zone, Pantech respects it and uses the CNAME method for that name.
If you remove the CNAME, renewals stop. Pantech emails owners and admins 14, 7 and 3 days before the certificate expires, saying why.
CAA records
A CAA record on your domain lists the certificate authorities allowed to issue for it. If your domain has CAA records, they must allow Let's Encrypt, or the request fails with caa_forbidden. The failure says which name. Without CAA records, any authority may issue.
example.com. CAA 0 issue "letsencrypt.org"If the domain also has issuewild records, they must allow letsencrypt.org too for wildcard names.
Wildcards
A wildcard covers one level: *.example.com covers www.example.com and api.example.com, but not example.com itself or a.b.example.com. Ask for example.com and *.example.com together to cover both.
The * must be the whole left-most label. *.example.com works; www*.example.com and api.*.example.com do not. A wildcard on a public suffix, such as *.com or *.co.uk, is refused.
Renewal
Certificates from Pantech are valid for about 90 days. Pantech renews each one from 30 days before it expires (renew_after). While it renews, the certificate is renewing and the current one keeps working; the new one replaces it when it is issued.
A failed renewal attempt is retried, first after 5 minutes, then less often, up to every 6 hours. It never makes a working certificate fail. If a renewal is still not done 14, 7 and 3 days before expiry, owners and admins are emailed with the reason, such as awaiting_cname (the CNAME was removed) or caa_forbidden.
A certificate that expires is expired. Pantech keeps trying to renew it, so putting the CNAME back fixes it.
Statuses
status | Meaning |
|---|---|
pending_validation | Pantech is checking the names. pending_reason says what it waits for |
issuing | The names are proved; the certificate authority is issuing |
issued | Ready to use |
renewing | A renewal is in progress. The current certificate keeps working |
expired | Past not_after |
revoked | Revoked |
failed | The first issue did not succeed. failure_code says why |
pending_reason tells you what a certificate is waiting for:
pending_reason | Meaning |
|---|---|
awaiting_cname | One or more CNAMEs are not in place yet. Add them, then check now |
awaiting_dns | Pantech is publishing the check records |
awaiting_ca | The certificate authority is checking or issuing |
rate_limited | The certificate authority asked Pantech to slow down. It retries by itself |
ca_unavailable | The certificate authority could not be reached. It retries by itself |
validation_failed | A renewal's check failed. It retries by itself |
A first issue that cannot succeed ends as failed, with a failure_code:
failure_code | What to do |
|---|---|
validation_timeout | The CNAMEs were not in place within 72 hours. Add them, then request again |
validation_failed | The certificate authority could not confirm a name. Check the CNAME, then request again |
caa_forbidden | A CAA record does not allow the certificate authority. Change it, then request again |
rejected_identifier | The certificate authority will not issue for one of the names |
rate_limited | The certificate authority kept refusing for 7 days. Try again later |
ca_unavailable | No certificate authority answered for 7 days. Try again later |
dns_record_limit | The Pantech DNS zone has no room for the check records. Delete some records |
ca_rejected | The certificate authority refused the request |
Revoke a certificate
Revoke a certificate if its key may have leaked. Revoking tells clients to stop trusting it before it expires. It cannot be undone.
$ pantech certificates revoke <certificate> --reason key_compromise- Only certificates Pantech issued can be revoked here, when they are
issued,renewingorexpired. Revoke an imported certificate with the authority that issued it, then delete it from Pantech. reasonisunspecified(the default) orkey_compromise.revocation_pendingistrueuntil the certificate authority confirms. Then the certificate isrevokedand its renewals stop.- A certificate a Pantech service uses cannot be revoked (
CERTIFICATE_IN_USE).
Delete a certificate
Deleting removes the certificate and its private key from Pantech at once. It does not revoke it: a copy you exported keeps working until it expires. Revoke first if that matters.
A certificate a Pantech service uses cannot be deleted (CERTIFICATE_IN_USE).
Load balancers
An appliance load balancer can serve a certificate and end HTTPS for your site: see HTTPS on load balancers. The certificate must be issued or being renewed. It does not need to be exportable: a load balancer is a Pantech service.
While a load balancer uses it, the certificate's in_use_by lists it ({"type": "load_balancer", "id": "lb_…"}), and it cannot be revoked or deleted (CERTIFICATE_IN_USE). A renewal or reimport reaches every load balancer using it within a few minutes, with no dropped connections. Nothing is needed from you.
For a VPC-native load balancer, which passes TCP only, use the certificate on your servers, or end TLS in your Kubernetes ingress.
Who can do what
Any member can see certificates. Owners and admins can request, import, change, export, revoke and delete them. Access policies can change that, with these actions:
| Action | Covers |
|---|---|
certificates:Read | List and view certificates |
certificates:Request | Request a certificate, change its description, check its CNAMEs now |
certificates:Import | Import and reimport |
certificates:Export | Export the private key |
certificates:Revoke | Revoke |
certificates:Delete | Delete |
On the API, everything but reading needs a key with the write scope. Export, revoke and delete hand out or destroy something you cannot take back, so an AI app needs Manage and delete access (the delete scope) for them.
A suspended organization can still see, export, revoke and delete certificates, but cannot request or import new ones. Renewals of certificates it already has continue.
Limits
| Limit | Default |
|---|---|
| Certificates per organization | 100 (403 CERTIFICATE_LIMIT_REACHED) |
| Requests and imports per organization per 24 hours | 20 (403 CERTIFICATE_REQUEST_LIMIT_REACHED) |
| Requests for the exact same set of names | 5 in 7 days |
| Names per certificate | 100 |
| Time to add the CNAMEs | 72 hours |
A sixth request for the same names within 7 days is refused with 429 CERTIFICATE_RATE_LIMITED; Retry-After says when you can ask again. This protects everyone's access to the certificate authority. A renewal does not count: you never need to ask again for a certificate you have.
Emails and events
Owners and admins are emailed when a certificate is issued, renewed, fails, is failing to renew, is about to expire, expires, is revoked, exported or imported. The same events are webhook events: subscribe with certificate.*. No email or event ever carries a private key.
From code
cert, err := c.Certificates.Request(ctx, pantech.RequestCertificateRequest{
Names: []string{"example.com", "*.example.com"},
})
if err != nil {
return err
}
for _, v := range cert.Validations {
if v.Method == "cname" {
fmt.Printf("add %s CNAME %s\n", *v.CNAMEName, *v.CNAMETarget)
}
}const cert = await pantech.certificates.request({
names: ["example.com", "*.example.com"],
});
for (const v of cert.validations) {
if (v.method === "cname") console.log(`add ${v.cname_name} CNAME ${v.cname_target}`);
}cert = client.certificates.request(names=["example.com", "*.example.com"])
for v in cert["validations"]:
if v["method"] == "cname":
print(f"add {v['cname_name']} CNAME {v['cname_target']}")Next
- Use a certificate on your servers, with nginx and Caddy.
- Import a certificate you bought elsewhere.
- The Certificates API.