Rate This Document
Findability
Accuracy
Completeness
Readability

Configuring a Valid SSL Certificate in the Target Environment

  1. Log in to the agent node and run the following command to obtain the certificate from mirror URL or obtain the certificate by yourself:
    1
    openssl s_client -connect {host}:{port} -showcerts > cert.pem
    

    In the preceding command, host indicates the domain name, port indicates the port number (443 by default), and cert.pem indicates the name of the saved certificate. For example:

    1
    openssl s_client -connect s3-kp-szv-gen.hics.huawei.com:443 -showcerts > cert.pem
    
  2. Add the obtained certificate to the system trustlist.
    1
    cat cert.pem  >> /etc/pki/tls/certs/ca-bundle.crt
    
  3. Return to the DevKit page, delete the original project, and create a project for migration.