question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

issue with .cer certificate

See original GitHub issue

I have generated a ValidationCertification.cer file. I now want to upload it and verify the certificate, without going to the Azure Portal.

az iot dps certificate verify only has and example for a .pem file. Can I not use this command with the .cer file?

Nb: tried that and got:

PS C:\temp> azsphere tenant download-validation-certificate --output ValidationCertification139.cer --verificationcode CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

Saving the validation certificate to 'C:\temp\ValidationCertification139.cer'.
Saved the validation certificate to 'ValidationCertification139.cer'.

PS C:\temps> az iot dps certificate verify --dps-name $DPSName --resource-group $GroupName --name MyCertificate137 --path ValidationCertification139.cer --etag AAAAAALTXUo=

Invalid ETag supplied. If you contact a support representative please include this correlation identifier: 48ab965d-7916-46e9-9856-61745accce7a, timestamp: 2020-04-21 05:39:59Z, errorcode: IH412001.

The etag used was from the earlier az iot dps certificate create command and used in the az iot dps certificate generate-verification-code command.

{
  "etag": "AAAAAALTXUo=",
  "id": "/s

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
djaus2commented, Nov 18, 2020

Looking at this again now.

0reactions
msftbot[bot]commented, Feb 9, 2022

Hi, we’re sending this friendly reminder because we haven’t heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don’t hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

CER - Certificate File Format
The CER is a certificate of your server. It is usually received by the certificate authority for the domain. CER is mostly considered...
Read more >
CER Certificate Expiry and Deletion - Cisco
This document describes a problem with the Cisco Emergency Responder (CER) where you receive the CertExpiryEmergency: Certificate Expiry.
Read more >
Common SSL Certificate Errors and How to Fix Them
Common SSL Certificate Errors and How to Fix Them · Choosing the Right Approval Method · Private Key Missing · SAN Compatibility ·...
Read more >
CER vs CRT: The Technical Difference & How to Convert Them
Fundamentally, there is no difference between CER and CRT… and yet there is a difference between the two. No, we're not trying to...
Read more >
Certificate Extensions Explained - DigiCert Knowledge Base
cer" has a certificate extension of ".cer" and we put a "*" in front to designate that in front of the letters could...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found