Cannot add hosts from Azure

I already referred to the previously opened topic Deploy Azure Hosts but still i have errors.

I want to add hosts from Azure, here are the steps i did:

1- Create certificate with
openssl req -new -x509 -key azure_private.pem -out azure_cacert.pem -days 3650
openssl x509 -inform PEM -in azure_cacert.pem -outform DER -out azure_cert.cer

2- Upload the .cer file to Azure Classic referrring

2- Rancher --> Add Hosts --> Azure
paste subscription
paster the Azure certificate (base64 azure_cacert.pem |pbcopy)

3- I am having the following error:

Error with pre-create check: “Code: ForbiddenError, Message: The server failed to authenticate the request. Verify that the certificate is valid and is associated with this subscription.”