30132: Certificate cannot be validated.
MESSAGING
ERROR
Twilio can't validate the TLS certificate you uploaded for a Link Shortening domain. For Link Shortening, the certificate and private key must be in PEM format, use the required BEGIN and END lines, and match the correct domain or subdomain. Provide the full chain of trust when you encrypt the connection.
- The certificate was uploaded in the wrong format or does not start and end with the required
PEMboundaries. - The private key is missing, malformed, or not in
PEMorPKCS #8format. - The certificate and key were generated for a different domain or subdomain.
- The full chain of trust was not provided with the upload.
- Upload a certificate and private key in
PEMformat, and confirm the certificate starts with-----BEGIN CERTIFICATE-----and ends with-----END CERTIFICATE-----. - Confirm the private key starts with
-----BEGIN PRIVATE KEY-----and ends with-----END PRIVATE KEY-----, or usePKCS #8format. - If you use a subdomain, generate the certificate and key for that subdomain.
- Upload the full chain of trust as a single file, including the server certificate, intermediate
CAcertificates, and rootCAcertificate. - Upload the certificate again in the Console or send the
POSTrequest to the Link Shortening domain's Certificate subresource, then check the validation status after up to five minutes.