Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex IoT Core
  • Service closure
    • All guides
    • Sending messages
    • Subscribing a device or registry to receive messages
    • Exporting messages to Data Streams
    • Viewing the connection log
      • Creating a certificate
      • Managing registry certificates
      • Managing device certificates
      • Managing broker certificates
    • Viewing operations with service resources
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
  • FAQ
  1. Step-by-step guides
  2. Managing certificates
  3. Creating a certificate

Creating a certificate

Written by
Yandex Cloud
Updated at June 15, 2026

Warning

Yandex IoT Core is no longer available to new users.

Current users can create resources until November 1, 2026. Afterwards, the service will go read-only and cease to operate on December 1, 2026. For more information on the timing and procedure, see Service shutdown.

For devices to interact, you need X.509 certificates. If you do not have a certificate, you can create one, e.g., with OpenSSL.

To create a certificate, install OpenSSL and run the following command from the command line:

openssl req -x509 \
  -newkey rsa:4096 \
  -keyout key.pem \
  -out cert.pem \
  -nodes \
  -days 365 \
  -subj '/CN=localhost'

Where:

  • -x509: X.509 certificate.
  • newkey: Encryption algorithm.
  • -keyout: File to write the private key to.
  • -out: File to save the certificate to.
  • -nodes: This flag is set when no public key encryption is required.
  • -days: Certificate validity period in days.
  • -subj: Request object.

Was the article helpful?

Previous
Deleting a broker
Next
Managing registry certificates
© 2026 Direct Cursus Technology L.L.C.