Azure-docs: Tutorial: Secure a web server on Linux VM, error with prep cert

Created on 5 Aug 2019  Â·  3Comments  Â·  Source: MicrosoftDocs/azure-docs

Got an error with step: Prepare a certificate for use with a VM
>$ vm_secret=$(az vm secret format --secrets "$secret")

ERROR: usage error: [--keyvault NAME --resource-group NAME | --keyvault ID]

FIX
https://stackoverflow.com/questions/54336531/why-does-az-vm-secret-format-command-fail-when-prepping-ssl-cert-of-linux-vm-d

>$ vm_secret=$(az vm secret format --secret "$secret" -g groupName --keyvault keyvaultName)

nice tutorial @cynthn !

-eric

Document Details

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

Pri2 cxp doc-enhancement triaged virtual-machines-linusvc

Most helpful comment

@eric-camplin Hey! Nice to hear from you :) Are you learning all about Azure VMs?

Thanks for the feedback, I'll take a closer look at that later today!

All 3 comments

Thanks for the feedback! We are currently investigating and will update you shortly.

@eric-camplin Hey! Nice to hear from you :) Are you learning all about Azure VMs?

Thanks for the feedback, I'll take a closer look at that later today!

@eric-camplin I have created a PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/84582. It will be merged after review from the doc-author @cynthn. Thanks :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AronT-TLV picture AronT-TLV  Â·  3Comments

bdcoder2 picture bdcoder2  Â·  3Comments

paulmarshall picture paulmarshall  Â·  3Comments

DeepPuddles picture DeepPuddles  Â·  3Comments

JeffLoo-ong picture JeffLoo-ong  Â·  3Comments