Use your own certificate on a private network
The platform issues and renews the HTTPS certificate of your domains on its own while they are reachable from the internet. When they are not, you upload your own certificate in the console and renew it yourself. This page covers when that applies, what the certificate needs, how to upload and renew it, what to do if it expires, and how to use the self-signed certificate the platform generates while you have none.
Everything here happens in the Certificate card, in the Domains tab of Admin Console → Branding. The card only shows up with the tenant:certificate:manage permission (see Permissions).
When to use it
Use your own certificate when the domains of your organization don't receive connections from the internet on ports 80 and 443. That is the case when the console only opens inside your company's network or through a VPN.
The automatic certificate needs those ports: the authority that issues it confirms the domain by connecting to it from the internet. With the ports closed it can't connect, and the certificate is neither issued nor renewed.
If your domains are reachable from the internet, nothing changes for you: the certificate stays automatic, as described in Set up your domains.
Until you upload a certificate, a domain on a private network answers with a self-signed certificate that the platform generates. The browser flags it as not secure, but it can stay in use: see Use the self-signed certificate.
Before you start
You need the tenant:certificate:manage permission, a certificate and its private key.
What the certificate needs
| Item | What is accepted |
|---|---|
| Format | PEM text, in which each block starts with -----BEGIN CERTIFICATE-----. Convert a file in another format (DER, PFX) to PEM first. |
| Chain | Your certificate first, followed by the intermediate certificates, in the same text. Up to 64 KB. |
| Private key | The key generated together with the certificate, in PEM, RSA or EC, without a password. Up to 16 KB. To remove a password: openssl pkey -in key.pem -out key-without-password.pem. |
| Names | The certificate has to cover at least one domain of your organization. The private network option only turns on when every domain is covered, so cover all of them, with one certificate or with several. |
| Validity | A certificate that has already expired is refused. |
A wildcard covers a single level: *.yourcompany.com covers cloud.yourcompany.com and docs.yourcompany.com, but not yourcompany.com nor org.docs.yourcompany.com. For the org docs domain, add its name to the certificate or use *.docs.yourcompany.com.
Which certificate to use
Any of these works. What changes is who accepts it:
| Certificate | Who accepts it |
|---|---|
| Bought from a public certificate authority | Every browser and device. |
| Issued for free by a public authority with DNS validation | Every browser and device. You prove the domain yourself, by creating a DNS record, so no port has to be open. |
| Issued by your company's internal authority | Only the computers that already trust that authority. Any other browser shows a security error, and the card warns you about it. |
Upload the certificate and mark the domains
Upload first, turn the option on after: the console only lets you mark the domains as not reachable once every one of them has a valid uploaded certificate.

- Open Admin Console → Branding and open the Domains tab (number 1 in the image). The Certificate card comes after the domains.
- Click Upload certificate (number 3) and send the certificate and its private key.
- In Certificate of each domain, check that every domain shows Uploaded certificate with Valid.
- Turn on The domains of this organization are not reachable from the internet on ports 80 and 443 (number 2) and confirm with Turn on.
Each step is detailed below.
Upload

- In Certificate, paste the PEM text or use Choose certificate file: your certificate first, followed by the intermediate ones.
- In Private key, paste the PEM text or use Choose private key file. The key is stored encrypted and never shown again.
- Click Upload certificate.
If the certificate is refused, the dialog says why: the key doesn't match the certificate, the certificate has expired, or it covers none of your domains (the message lists the names of the certificate and your domains). Fix it and send again.
The certificate shows up in Uploaded certificates, and within a minute the domains it covers answer with it. In an organization that was using the automatic certificate, that only happens after the restart described in Limits.
Check each domain
Certificate of each domain lists your domains and what answers for each one:
| The card shows | What it means | What to do |
|---|---|---|
| Uploaded certificate, with Valid and Valid until date. | The domain answers with a certificate you uploaded. | Nothing. |
| Uploaded certificate, with Expires in N days or Expired | The certificate of the domain is about to expire, or has expired. | Renew it. |
| Automatic certificate | The option is off and no uploaded certificate covers the domain: the platform issues and renews the certificate. | Nothing, while the domain is reachable from the internet. Before turning the option on, upload a certificate that covers it. |
| No certificate, on a domain marked change being verified | A domain change is waiting for a certificate. | Upload one that covers the new domain. A certificate that covers only the new domain is accepted once the change is requested. |
| Self-signed certificate, with Valid until date. | A domain on a private network without an uploaded certificate, as in a new installation before the first upload. The browser flags this certificate as not secure. | Upload a certificate that covers the domain, or keep the self-signed one (see Use the self-signed certificate). |
Uploaded certificates lists each certificate with what it Covers, who it was Issued by, Valid until, Status and Uploaded by. When more than one covers the same domain, the domain uses the one that expires last.
Turn the option on
While a domain of your organization has no valid uploaded certificate, the console doesn't turn the option on. It shows These domains have no valid certificate yet: domains. Upload the certificate that covers them first, then turn this option on., with the button to upload.
With every domain covered, the console asks Mark the domains as not reachable from the internet? and says what changes:
- The automatic certificate stops being issued and renewed.
- Your domains use the certificates uploaded here, and you renew each one by uploading a new one before it expires.
- If the domains were already using the automatic certificate, it stays in use until whoever operates the installation restarts the service that answers for your domains.
In a new installation on a private network the option is already on, so the steps end at the upload. Until then the console opens with the self-signed certificate, which the browser flags as not secure.
Use the self-signed certificate
On a private network, a domain without an uploaded certificate answers with a self-signed certificate that the platform generates. That is how a new installation opens before the first upload, and it can stay that way if you don't have a certificate of your own.
- One certificate for every domain of your organization, valid for one year. It stays the same when the platform is updated, so the browser doesn't ask again at every update.
- The browser flags it as not secure. Each browser asks you to accept it once on each domain: the console, the API and the docs. Only a certificate you upload, from an authority the computers trust, removes the warning for everyone.
- On your company's computers the warning can go away without uploading anything: download the certificate and have your IT team install it as trusted on them, the same way they distribute the certificate of an internal authority.

- In Certificate of each domain, the domains without an uploaded certificate show Self-signed certificate (number 1), with the date it is valid until.
- In Self-signed certificate, click Download certificate (number 2). The file has only the certificate, never its private key.
- Install the file as a trusted certificate on the computers that open the console.
When the self-signed certificate is renewed
The platform renews it on its own. Sixty days before the current one expires, it generates the next one, and the card lists it as Next, in use from date: the next one takes over 30 days before the current one expires. Until then your domains keep the current one.
If you only accept the warning in the browser, there is nothing to do: the browser asks you to accept the new certificate once.
If your computers trust the current one, download the next one and install it before that date. The card warns with The next self-signed certificate takes over on date. A browser that opened the console with the trusted certificate in the last 24 hours refuses the next one until it is installed, and offers no way to proceed.
The self-signed certificate only covers the current domains. A domain of a change being verified waits for an uploaded certificate, and Certificate of each domain shows it with No certificate.
Renew
An uploaded certificate is not renewed for you. Get the new one from whoever issued the current one and upload it before the current one expires, with the same steps. Each domain moves to the certificate that expires last, so the new one takes over on its own.
The old certificate can stay until it expires, or you can take it out with Remove in Uploaded certificates, after the new one is uploaded. With the option on, the console doesn't remove the only valid certificate of a domain. It shows The certificate of names is the only valid one for: domains. Removing it would lock everyone out of these domains. Upload the certificate that replaces it first, then remove this one.
The console warns you ahead of time:
- On the card, from 30 days before the date: the certificate shows Expires in N days and the card shows The certificate of names expires in N days, on date. Upload the new one before that.
- By email, when 30, 15, 7, 3 and 1 day are left, and once more after it expires. The emails go to everyone in your organization who holds
tenant:certificate:manageortenant:domain:manageat tenant scope.
Only a certificate in use by a domain warns. One that a newer upload already replaced expires without notice.
If the certificate expired
With an expired certificate the browser refuses your domains. For up to one day after your last visit to the console, the browser also demands a valid certificate, so you can't open the console to upload the new one.
Upload it through the API instead, with the same login you use in the console. The email that warns about the expired certificate points to this guide for these steps. You need curl and jq, a computer that reaches the console, and an account with the tenant:certificate:manage permission. In the commands, cloud.yourcompany.com is your console domain, fullchain.pem is the new certificate followed by the intermediate ones, and privkey.pem is its private key.
# 1. Sign in and keep the cookies. It answers 200.
curl -k -c cookies.txt -w '\n%{http_code}\n' \
-H 'Content-Type: application/json' \
-d '{"login": "you@yourcompany.com", "password": "your-password"}' \
https://cloud.yourcompany.com/v1/login
# 2. Only if your account uses two-factor authentication: send the code.
# emailToken=true for a code received by email, false for one from an authenticator app.
curl -k -b cookies.txt -c cookies.txt -w '\n%{http_code}\n' \
-H 'Content-Type: application/json' \
-d '{"token": "123456"}' \
'https://cloud.yourcompany.com/v1/login/2fa?emailToken=true'
# 3. Put the two PEM files in one JSON.
jq -n --rawfile certificate fullchain.pem --rawfile privateKey privkey.pem \
'{certificate: $certificate, privateKey: $privateKey}' > certificate.json
# 4. Upload the certificate. It answers 201 with the certificate that was saved.
curl -k -b cookies.txt -w '\n%{http_code}\n' \
-H 'Content-Type: application/json' \
--data-binary @certificate.json \
https://cloud.yourcompany.com/v1/tenants/me/certificates
# 5. Delete the files with the session and the private key.
rm cookies.txt certificate.json
The -k makes curl accept the expired certificate. Use it only here, against your own domain and from inside your network.
A refusal comes back as 400 with the reason, the same ones the dialog shows. Run the commands in sequence: the session of the login lasts a few minutes.
Within a minute of the upload the domains answer with the new certificate, and the browser opens the console again.
An API Key doesn't work for this: it only reaches the Object Storage.
Go back to the automatic certificate
Turn the option off and confirm with Turn off. The automatic certificate comes back for the domains without an uploaded one. It only works if they are reachable from the internet on ports 80 and 443: if they are not, they are left without a valid certificate and the browser refuses to open them.
A domain covered by an uploaded certificate keeps using it. Remove the certificate in Uploaded certificates and the domain goes back to the automatic one.
Limits
- An organization that was using the automatic certificate. When it starts uploading its own certificate, with the option on or off, the uploaded one only takes effect after whoever operates the installation restarts the service that answers for your domains. Until then the automatic certificate stays in use. The card warns you while the option is off, and the confirmation of turning it on says the same.
- The API has to be up. While the platform's API is down, the domains with an uploaded or self-signed certificate don't answer over HTTPS. They come back when it does. Domains with the automatic certificate are not affected.
Permissions
| Permission | What it allows | Level |
|---|---|---|
tenant:certificate:manage | See the Certificate card, turn the private network option on and off, upload and remove certificates. It requires tenant:domain:manage, because the card lives in the Domains tab. | High |
Grant it at tenant scope (see IAM at tenant level): a grant held at customer or VDC level doesn't open the card. Every upload, removal and change of the option is recorded in the IAM history as Certificate uploaded, Certificate removed and Internet access of the domains changed.