All Products
Search
Document Center

:How do I check whether the URL of a public key certificate is provided by Alibaba Cloud?

Last Updated:May 09, 2023

Overview

This topic describes how to check whether the URL of a public key certificate (x-mns-signing-cert-url) in a push request is provided by Alibaba Cloud when you use Message Service (MNS).

Solution

The public key certificate of MNS are stored in an Object Storage Service (OSS) bucket named mnstest. Sample URL of a public key certificate:

https://mnstest.oss-cn-hangzhou.aliyuncs.com/x509_public_certificate.pem

For security purposes, the public key certificate and file names are periodically changed. You can check the validity of a certificate based on the bucket address. The certificate URL in each push request sent from MNS is prefixed with https://mnstest.oss-cn-hangzhou.aliyuncs.com/.

Note

If the location of the public key certificate changes, an official notice will be posted.