Certificates
A certificate stores TLS material (certificate, private key, and optional CA chain) for database SSL. Attach a certificate to a cluster from the cluster detail page.
In the console
Choose Encryption, Certificates.
To create a certificate
- Choose Encryption, Certificates, then create a certificate.
- For Name, enter a name.
- For Certificate, paste the PEM certificate.
- For Private Key, paste the PEM private key.
- (Optional) For CA Chain, paste the CA chain PEM.
- (Optional) Select Set as default certificate.
- Choose Save.
Fields
| Field | Description |
|---|---|
| Name | Display name for the certificate |
| Certificate | Server (or leaf) certificate in PEM format |
| Private Key | Matching private key in PEM format |
| CA Chain | Optional intermediate/root CA chain in PEM format |
| Default | When set, new database clusters automatically receive this certificate. Only one default is allowed |
Default certificate
If an account has a default certificate, myStack attaches it when you create a new database cluster. Setting a certificate as default fails if another default already exists—clear the existing default first.
To attach a certificate to a cluster
- Open the cluster.
- In Certificate, choose a certificate (or No certificate to remove one).
- Choose Save.
A cluster can have only one certificate at a time.
To delete a certificate
- Remove the certificate from any clusters that use it.
- Open the certificate and delete it.
Important
You cannot delete a certificate that is still attached to one or more databases.