Hello Team,
we are using certbot command for getting the certs-
certbot certonly --authenticator dns-azure --preferred-challenges dns --noninteractive --agree-tos --dns-azure-config ./azure.ini -m ITSOECloudandIaaS-AzureSMEs@xxxx.com $san_args --key-type rsa --config-dir $HOME/.config/letsencrypt --work-dir $HOME/.local/share/letsencrypt --logs-dir $HOME/.cache/letsencrypt -v
However, we are running in the github actions and here are some plugins that we are installing:
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Update and Upgrade Packages
run: |
sudo apt-get update
sudo apt-get upgrade -y
shell: bash
- name: Update and Upgrade Packages
run: |
sudo apt install jq
shell: bash
- name: Install Python3 and pip
run: |
sudo apt-get install python3-pip -y
shell: bash
- name: Install Certbot and Certbot Plugins
run: |
sudo -H pip install --ignore-installed certbot certbot-dns-azure
shell: bash
- name: Remove python3-openssl and Install pyOpenSSL
run: |
sudo apt remove python3-openssl -y
sudo -H pip install pyOpenSSL
shell: bash
During the execution of the certbot command, we are getting error now while it worked exactly fine till last month.
This is the error we are getting now along with the logs
dns: cdt-api.fulfillment.xxxx.com
environment: cdt
domainname: fulfillment.xxxx.com
Preparing azure.ini file..
azure.ini file created successfully..
dns_without_domain: cdt-api
-d cdt-api.fulfillment.xxxx.com
checking existing CNAME records..
Renewing certificate now..
Saving debug log to /home/runner/.cache/letsencrypt/letsencrypt.log
Plugins selected: Authenticator dns-azure, Installer None
Account registered.
Requesting a certificate for cdt-api.fulfillment.xxxx.com
Performing the following challenges:
dns-01 challenge for cdt-api.fulfillment.xxxx.com
Cleaning up challenges
Encountered exception during recovery: TypeError: DnsManagementClient.init() takes from 3 to 4 positional arguments but 5 were given
An unexpected error occurred:
TypeError: DnsManagementClient.init() takes from 3 to 4 positional arguments but 5 were given
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /home/runner/.cache/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
Could you please help as soon as possible as it may be a high priority issue (p1) if the certificates are not renewed.
Thank you.