- What's New
- Service Overview
- Getting Started
- User Guide
-
Best Practices
- Using a Custom Script to Implement Consistent Backup for MySQL
- Using a Custom Script to Implement Consistent Backup for SAP HANA
- Using a Custom Script to Implement Consistent Backup for Other Linux Applications
- Troubleshooting a Custom Script Error
- Verifying the Application-Consistent Backup Result (Linux)
- Verifying the Application-Consistent Backup Result (Windows)
- Protecting SQL Server in Failover Cluster Mode
- Protecting SQL Server in Always on Availability Groups Mode
- Change History
- API Reference
-
FAQs
-
About Concepts
- What Is CSBS?
- What Are Full Backup and Incremental Backup?
- What Is Consistent Backup?
- What Are the Differences Between CSBS and VBS?
- What Is a Backup Policy?
- What Are the Differences Between Backup and Disaster Recovery?
- What Are the Differences Between Backup and Snapshot?
- Why Is the Disk Space Usage Displayed in the File System Different from the Backup Size?
-
About Pricing
- How Is CSBS Billed?
- How Do Yearly/Monthly Resource Packages Function When I Have Bought More Than One?
- Are CSBS and VBS Resource Packages Interoperable Between CSBS and VBS?
- Why Am I Charged in Pay-per-use Mode Although I Have Purchased Resource Package?
- What Exactly Are the Function Package and the Storage Package?
- Will the CSBS Backups Displayed on the VBS Page Be Charged Repeatedly?
- How Do I Query CSBS Pay-Per-Use Billing Details?
- Why Is the Fee Deducted After a Backup Is Deleted?
- How Do I Disable CSBS?
- How Do I Stop CSBS from Charging?
-
About Backup
- Does CSBS Support Backing Up All EVS Disks on an ECS?
- Do I Need to Stop the ECS Before Backing It Up?
- Can an ECS with Application Systems Be Backed Up?
- What Are the Minimum Backup Frequency and Maximum Number of Retained Backups Supported by CSBS?
- How Can I Distinguish Automatic Backups From Manual Backups?
- How Can I Configure a Backup Policy?
- Can I Choose to Back Up Only Some Partitions of a Disk?
- Does CSBS Support Cross-Region Backup for ECSs?
- Which Types of Databases Can Be Backed Up Using Database Server Backup?
- How Do I Select Among Database Server Backup, Cloud Server Backup, and Disk Backup?
- How Do I Migrate ECS Data Across Regions Using CSBS?
- Which Time Zone Is the Automatic Backup Time Based On?
- What Can I Do If a Backup Cannot Be Deleted?
- About Restoration
- Others
-
About Concepts
- Troubleshooting
- Videos
- Glossary
-
More Documents
-
User Guide (Paris and Amsterdam Regions)
- Service Overview
- Getting Started
- Management Operations
-
FAQs
- About Concepts
-
About Backup
- Does CSBS Support Backing Up All EVS Disks on an ECS?
- Do I Need to Stop the ECS Before Backing It Up?
- Can an ECS with Application Systems Be Backed Up?
- What Are the Minimum Backup Frequency and Maximum Number of Retained Backups Supported by CSBS?
- How Can I Distinguish Automatic Backups From Manual Backups?
- Does CSBS Support Cross-Region Backup for ECSs?
- About Restoration
- Others
- Troubleshooting Cases
- Change History
- API Reference (Paris and Amsterdam Regions)
-
User Guide (Paris and Amsterdam Regions)
- General Reference
Copied.
Replacing CA Certificates
Scenarios
A CA certificate is a digital file signed and issued by an authentication authority. It contains the public key, information about the owner of the public key, information about the issuer, validity period, and certain extension information. It is used to set up a secure information transfer channel between the Agent and the server.
If the CA certificate does not comply with the security requirements or has expired, replace it for security purposes.
Prerequisites
- The username and password for logging in to an ECS have been obtained.
- A new CA certificate is ready.
Procedure (Linux)
- Log in the Linux server with the Agent installed.
- Run the following command to disable user logout upon system timeout:
TMOUT=0
- Run the following command to switch to user rdadmin:
su - rdadmin
- Run the following command to go to the path to the Agent start/stop script:
cd /home/rdadmin/Agent/bin
- Run the following command to stop the Agent:
sh agent_stop.sh
- Run the following command to go to the path to the CA certificate:
cd /home/rdadmin/Agent/bin/nginx/conf
- Run the following command to delete the existing CA certificate:
rm bcmagentca.crt
- Copy the new CA certificate file into the /home/rdadmin/Agent/bin/nginx/conf directory and rename the file bcmagentca.crt.
- Run the following commands to change the owner of the CA certificate:
chown rdadmin:rdadmin bcmagentca.crt
- Run the following command to modify the permissions on the CA certificate:
chmod 400 bcmagentca.crt
- Run the following command to go to the path to the Agent start/stop script:
cd /home/rdadmin/Agent/bin
- Run the following command to start the Agent:
sh agent_start.sh
Procedure (Windows)
- Log in to the ECS with the Agent installed.
- Go to the Installation path\bin directory.
- Run the agent_stop.bat script to stop the Agent.
- Go to the Installation path\nginx\conf directory.
- Delete the bcmagentca.crt certificate file.
- Copy the new CA certificate file into the Installation path\nginx\conf directory and rename the file bcmagentca.crt.
- Go to the Installation path\bin directory.
- Run the agent_stop.bat script to service.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot