All Products
Search
Document Center

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

Last Updated:Sep 02, 2024

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 Simple Message Queue (formerly MNS).

Solution

The public key certificate of SMQ 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 SMQ 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.