Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Yandex Certificate Manager
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Let's Encrypt® certificate
      • Create a certificate
      • Get the contents of a certificate
      • Domain rights check procedure
      • Renew a certificate
      • Edit a certificate
      • Delete a certificate
    • User certificate
      • Create a certificate
      • Get the contents of a certificate
      • Renew a certificate
      • Edit a certificate
      • Delete a certificate
    • Domain
      • Create a domain
      • Link a certificate to a domain
      • Update a domain description
      • Delete a domain
    • Backups
  • Concepts
    • Overview
    • Let's Encrypt® certificate
    • User certificate
    • Check rights for domain
    • Integration with Yandex.Cloud services
    • Quotas and limits
    • Domain
      • Overview
      • Integration of the domain management system with services from Yandex.Cloud
  • Access management
  • Pricing policy
  • API reference
    • Authentication in the API
    • gRPC
      • Overview
      • CertificateContentService
      • CertificateService
      • OperationService
    • REST
      • Overview
      • Certificate
        • Overview
        • create
        • delete
        • get
        • list
        • listAccessBindings
        • listOperations
        • requestNew
        • setAccessBindings
        • update
        • updateAccessBindings
      • CertificateContent
        • Overview
        • get
  • Questions and answers
  1. Step-by-step instructions
  2. Let's Encrypt® certificate
  3. Edit a certificate

Edit a certificate

    After creating a certificate, you can change its name or description. To edit a certificate:

    Management console
    CLI
    API
    1. In the management console, select the folder where the certificate was created.
    2. In the list of services, select Certificate Manager.
    3. Select the certificate you need to change from the list.
    4. In the window that opens, click Edit.
    5. Change the name or description of the certificate.
    6. Click Save.

    If you don't have the Yandex.Cloud command line interface yet, install and initialize it.

    The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name or --folder-id parameter.

    1. View a description of the command:

      yc certificate-manager certificate update --help
      
    2. View the list of certificates:

      yc certificate-manager certificate list
      +----------------------+---------------+-------------+-----------+---------+------------+
      |          ID          |     NAME      |   DOMAINS   | NOT AFTER |  TYPE   |   STATUS   |
      +----------------------+---------------+-------------+-----------+---------+------------+
      | fpq6gvvm6piuegbb2nol | mymanagedcert | example.com |           | MANAGED | VALIDATING |
      +----------------------+---------------+-------------+-----------+---------+------------+
      
    3. Run the command:

      yc certificate-manager certificates update \
        --id fpq6gvvm6piuegbb2nol \
        --new-name myupdatedmanagedcert \
        --description "description of myupdatedmanagedcert"
      

      Command parameters:

      • --id: Certificate ID.
      • --new-name: New name for the certificate.
      • --description: Certificate description.

      Command results:

      id: fpq6gvvm6piuegbb2nol
      folder_id: b1g7gvsi89m34qmcm3ke
      created_at: "2020-09-15T08:49:11.533Z"
      name: myupdatedmanagedcert
      description: description of myupdatedmanagedcert
      type: MANAGED
      domains:
      - example.com
      status: VALIDATING
      updated_at: "2020-09-15T09:10:06.981875Z"
      

    To update the certificate, use the update method for the Certificate resource.

    Language
    Careers
    Privacy policy
    Terms of use
    © 2021 Yandex.Cloud LLC