Skip to content

gustavoscovini/huaweicloud-live-https-cert-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huawei Cloud Live Batch HTTPS Certificate update

This repository contains Python scripts that helps to update HTTPS certificates for the Live service in batch.

DISCLAIMER

The developers of this tool are not responsible for data loss neither for unexpected cost increases. You, the user of this tool, are the sole responsible for checking the source code.

Requirements

SDK Installation

With Python and pip installed, installing the Huawei SDK is straightforward. Simply execute the following commands to install both the Python SDK core library and the related service libraries:

pip install huaweicloudsdkcore huaweicloudsdklive

Configuration

  1. Create a my_config.py file and place your credentials(AK/SK). Take my_config.example.py as reference;
  2. Copy the certificate and the private key into the cert/ directory and modify the value of cert_name and private_key_name in the updateCerts.py file. Make sure that the certificate is in PEM format
  3. Create a domains.txt file into the root folder and place all the domain that will be updated. You can use domains.example.txt as reference.
  4. Run the updateCerts.py file using python ./updateCerts.py

References

About

Python script that updates SSL certificates in batch in Live service(Huawei Cloud)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages