Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
I ran this command: certbot certonly -d *.cisozen.com -a dns-azure --dns-azure-credentials certcred.json --dns-azure-resource-group CISOZEN-FRONTEND-TEST --config-dir ~/.certbot/config --logs-dir ~/.certbot/logs --work-dir ~/.certbot/work
It produced this output: Unsafe permissions on credentials configuration file: certcred.json
Encountered exception during recovery: TypeError: init() missing 1 required positional argument: 'credential'
An unexpected error occurred:
TypeError: init() missing 1 required positional argument: 'credential'
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know): no
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 1.25.0
Hi ,
Here is my log file. could you please have a look and help me to resolve the issue. letsencryptlog.txt (14.2 KB)
I have created config file(INI file) and I am running following command:
certbot certonly -d *.cisozen.com -a dns-azure --dns-azure-credentials ~/.certbot/config/certconfig.ini --dns-azure-resource-group CISOZEN-FRONTEND-TEST --config-dir ~/.certbot/config --logs-dir ~/.certbot/logs --work-dir ~/.certbot/work
Just for consistency with the Welcome to certbot-dns-azure’s documentation! — certbot-dns-azure 0 documentation could you change your command to use --dns-azure-config ~/.certbot/config/certconfig.ini instead of --dns-azure-credentials, the config option seems to be the new/current way to do it. Check your azure dns plugin is up to date, I have a feeling it's old and that's the root of the confusion.
For some reason it's trying to read your ini file (which is a text format with key=value pairs as JSON (which is completely different). Looking at the errors the line numbers don't match up with the source on github, that's why I think your plugin is out of date.
If the issue persists it's probably worth asking for help on their github issues.
Hi
I changed my command to use --dns-azure-config ~/.certbot/config/certconfig.ini and it is throwing this error :
certbot: error: unrecognized arguments: --dns-azure-config