Back

Explore Courses Blog Tutorials Interview Questions
0 votes
4 views
in Azure by (13.1k points)

I was trying to create a fileshare using Azure CLI, but it shows an error.

HTTPSConnectionPool(host='redboxtfstatebedtqgliqc.file.core.windows.net', port=443): Max retries exceeded with url: /myfile?restype=share (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))

Can anyone help me with this?

1 Answer

0 votes
by (26.7k points)

You can create file share using az storage share create command. You can take the below example to prefer.

shareName="myshare"

az storage share create \

    --account-name $storageAccountName \

    --account-key $storageAccountKey \

    --name $shareName \

    --quota 1024 \

    --enabled-protocols SMB \

    --output none

I hope this will work.

Want to become an Azure Expert? Join azure certification now!!

Browse Categories

...