2022-04-01 00:38:14,034:DEBUG:certbot._internal.main:certbot version: 1.25.0 2022-04-01 00:38:14,035:DEBUG:certbot._internal.main:Location of certbot entry point: /home/manjeet/.local/bin/certbot 2022-04-01 00:38:14,035:DEBUG:certbot._internal.main:Arguments: ['-d', '*.cisozen.com', '-a', 'dns-azure', '--dns-azure-credentials', '/home/manjeet/.certbot/config/certconfig.ini', '--dns-azure-resource-group', 'CISOZEN-FRONTEND-TEST', '--config-dir', '/home/manjeet/.certbot/config', '--logs-dir', '/home/manjeet/.certbot/logs', '--work-dir', '/home/manjeet/.certbot/work'] 2022-04-01 00:38:14,036:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#azure-agw,PluginEntryPoint#certbot-azure:azure-agw,PluginEntryPoint#certbot-azure:dns-azure,PluginEntryPoint#dns-azure,PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot) 2022-04-01 00:38:14,071:DEBUG:certbot._internal.log:Root logging level set at 30 2022-04-01 00:38:14,072:DEBUG:certbot._internal.plugins.selection:Requested authenticator dns-azure and installer None 2022-04-01 00:38:14,077:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * dns-azure Description: Obtain certificates using a DNS TXT record (if you are using Azure DNS for DNS). Interfaces: Authenticator, Plugin Entry point: dns-azure = certbot_azure.dns_azure:Authenticator Initialized: Prep: True 2022-04-01 00:38:14,077:DEBUG:certbot._internal.plugins.selection:Selected authenticator and installer None 2022-04-01 00:38:14,078:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator dns-azure, Installer None 2022-04-01 00:38:14,083:DEBUG:certbot._internal.main:Picked account: ), creation_host='cc-bb96b3bc-756974766-l7t2p', register_to_eff=None))> 2022-04-01 00:38:14,083:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/directory. 2022-04-01 00:38:14,085:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org:443 2022-04-01 00:38:14,793:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 200 658 2022-04-01 00:38:14,794:DEBUG:acme.client:Received response: HTTP 200 Server: nginx Date: Fri, 01 Apr 2022 00:38:14 GMT Content-Type: application/json Content-Length: 658 Connection: keep-alive Cache-Control: public, max-age=0, no-cache X-Frame-Options: DENY Strict-Transport-Security: max-age=604800 { "keyChange": "https://acme-v02.api.letsencrypt.org/acme/key-change", "meta": { "caaIdentities": [ "letsencrypt.org" ], "termsOfService": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf", "website": "https://letsencrypt.org" }, "newAccount": "https://acme-v02.api.letsencrypt.org/acme/new-acct", "newNonce": "https://acme-v02.api.letsencrypt.org/acme/new-nonce", "newOrder": "https://acme-v02.api.letsencrypt.org/acme/new-order", "revokeCert": "https://acme-v02.api.letsencrypt.org/acme/revoke-cert", "zjuKA3MA9uo": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417" } 2022-04-01 00:38:14,795:DEBUG:certbot._internal.display.obj:Notifying user: Requesting a certificate for *.cisozen.com 2022-04-01 00:38:14,914:DEBUG:certbot.crypto_util:Generating RSA key (2048 bits): /home/manjeet/.certbot/config/keys/0005_key-certbot.pem 2022-04-01 00:38:14,916:DEBUG:certbot.crypto_util:Creating CSR: /home/manjeet/.certbot/config/csr/0005_csr-certbot.pem 2022-04-01 00:38:14,916:DEBUG:acme.client:Requesting fresh nonce 2022-04-01 00:38:14,917:DEBUG:acme.client:Sending HEAD request to https://acme-v02.api.letsencrypt.org/acme/new-nonce. 2022-04-01 00:38:15,168:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "HEAD /acme/new-nonce HTTP/1.1" 200 0 2022-04-01 00:38:15,168:DEBUG:acme.client:Received response: HTTP 200 Server: nginx Date: Fri, 01 Apr 2022 00:38:15 GMT Connection: keep-alive Cache-Control: public, max-age=0, no-cache Link: ;rel="index" Replay-Nonce: 0002IuX8jBT7fs7gauR4MQ-LxKWf-L8SWsJKjr7V6J8_MwQ X-Frame-Options: DENY Strict-Transport-Security: max-age=604800 2022-04-01 00:38:15,169:DEBUG:acme.client:Storing nonce: 0002IuX8jBT7fs7gauR4MQ-LxKWf-L8SWsJKjr7V6J8_MwQ 2022-04-01 00:38:15,169:DEBUG:acme.client:JWS payload: b'{\n "identifiers": [\n {\n "type": "dns",\n "value": "*.cisozen.com"\n }\n ]\n}' 2022-04-01 00:38:15,171:DEBUG:acme.client:Sending POST request to https://acme-v02.api.letsencrypt.org/acme/new-order: { "protected": "eyJhbGciOiAiUlMyNTYiLCAia2lkIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL2FjY3QvNDc3Mjg4NjUwIiwgIm5vbmNlIjogIjAwMDJJdVg4akJUN2ZzN2dhdVI0TVEtTHhLV2YtTDhTV3NKS2pyN1Y2SjhfTXdRIiwgInVybCI6ICJodHRwczovL2FjbWUtdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvYWNtZS9uZXctb3JkZXIifQ", "signature": "dyd4RroXGfo2R956AVrVD5PYntT2mBl4s1CG7tEWZagV_MnXXsT0WXyrQdFpPfBUIFZsRcgeqxZu2PUzigZrAXRrC_VbJ-fbkKG4Zd0AxnxKNu9wyNikv5pr9bDJdSaGaMJSCGEI2Q20KSI1S48leTomjiKjhyAUCSy0Kz-Umspbn5MKuoFoZwC0IG9qOefQbTN_-tJgnMuJ4P823Jf0pybSH86bb_B9QOeAPIJnoitQe_dxDNAsSHkX0spDUUFuwv6cxsAeOXCg5NMQ9x1L2aXNs4PdKCwIZ6sPXf4KPbeOw0KtTqNX_e4IOzl8WVIyB-uIetmakDyyFBUQ6V2NEA", "payload": "ewogICJpZGVudGlmaWVycyI6IFsKICAgIHsKICAgICAgInR5cGUiOiAiZG5zIiwKICAgICAgInZhbHVlIjogIiouY2lzb3plbi5jb20iCiAgICB9CiAgXQp9" } 2022-04-01 00:38:15,432:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/new-order HTTP/1.1" 201 336 2022-04-01 00:38:15,433:DEBUG:acme.client:Received response: HTTP 201 Server: nginx Date: Fri, 01 Apr 2022 00:38:15 GMT Content-Type: application/json Content-Length: 336 Connection: keep-alive Boulder-Requester: 477288650 Cache-Control: public, max-age=0, no-cache Link: ;rel="index" Location: https://acme-v02.api.letsencrypt.org/acme/order/477288650/76262863390 Replay-Nonce: 0002JI98SUYkI4wGeY-0FJnU3JG9Im6BOWKfKOVhkGPkQ3g X-Frame-Options: DENY Strict-Transport-Security: max-age=604800 { "status": "pending", "expires": "2022-04-08T00:00:30Z", "identifiers": [ { "type": "dns", "value": "*.cisozen.com" } ], "authorizations": [ "https://acme-v02.api.letsencrypt.org/acme/authz-v3/93495523930" ], "finalize": "https://acme-v02.api.letsencrypt.org/acme/finalize/477288650/76262863390" } 2022-04-01 00:38:15,433:DEBUG:acme.client:Storing nonce: 0002JI98SUYkI4wGeY-0FJnU3JG9Im6BOWKfKOVhkGPkQ3g 2022-04-01 00:38:15,433:DEBUG:acme.client:JWS payload: b'' 2022-04-01 00:38:15,435:DEBUG:acme.client:Sending POST request to https://acme-v02.api.letsencrypt.org/acme/authz-v3/93495523930: { "protected": "eyJhbGciOiAiUlMyNTYiLCAia2lkIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL2FjY3QvNDc3Mjg4NjUwIiwgIm5vbmNlIjogIjAwMDJKSTk4U1VZa0k0d0dlWS0wRkpuVTNKRzlJbTZCT1dLZktPVmhrR1BrUTNnIiwgInVybCI6ICJodHRwczovL2FjbWUtdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvYWNtZS9hdXRoei12My85MzQ5NTUyMzkzMCJ9", "signature": "DqdySpDkGksTd3SjymhL2pgwcgr_L11-lXhBw_kEBYlV6w1GlDfj33bDfA_8ZQan-C_lLOrsTGcXDUVNqs_FBepQbxq9aUnViUhwZxXhEGvJ-PMG-6TgwxDj0i6SmsOg7cZ0DUhxuVNGadpBU4YQqRYmJPI5lm3-gC72vTO3jKKIP1yEQqzCvWWEIURsUGqel_X9Don7IWTdOCl0iMl-WyudHvoD3tlxdvgwsQFQGNdv1ys4JEVVXGy1Txu9YObhgMUqPoxcPlMjiC3PlG9zznXs-qjyHZvsGI1u8e0cwRD0wTaQdIM_qBZapV2TDHjuF-RA_R0ZNGEsYfi0BnQcCQ", "payload": "" } 2022-04-01 00:38:15,715:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/authz-v3/93495523930 HTTP/1.1" 200 384 2022-04-01 00:38:15,715:DEBUG:acme.client:Received response: HTTP 200 Server: nginx Date: Fri, 01 Apr 2022 00:38:15 GMT Content-Type: application/json Content-Length: 384 Connection: keep-alive Boulder-Requester: 477288650 Cache-Control: public, max-age=0, no-cache Link: ;rel="index" Replay-Nonce: 00020CHgdUM1jsux8Km0M4eP2plqaHyw1cZDMS-dgg6nUy8 X-Frame-Options: DENY Strict-Transport-Security: max-age=604800 { "identifier": { "type": "dns", "value": "cisozen.com" }, "status": "pending", "expires": "2022-04-08T00:00:30Z", "challenges": [ { "type": "dns-01", "status": "pending", "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/93495523930/zES5dw", "token": "HSRxIEM0130T0PSX5NHtLmQ_sQjVTiITSKZ-Jo3QExM" } ], "wildcard": true } 2022-04-01 00:38:15,716:DEBUG:acme.client:Storing nonce: 00020CHgdUM1jsux8Km0M4eP2plqaHyw1cZDMS-dgg6nUy8 2022-04-01 00:38:15,716:INFO:certbot._internal.auth_handler:Performing the following challenges: 2022-04-01 00:38:15,716:INFO:certbot._internal.auth_handler:dns-01 challenge for cisozen.com 2022-04-01 00:38:15,716:WARNING:certbot.plugins.dns_common:Unsafe permissions on credentials configuration file: /home/manjeet/.certbot/config/certconfig.ini 2022-04-01 00:38:15,719:DEBUG:certbot._internal.error_handler:Encountered exception: Traceback (most recent call last): File "/home/manjeet/.local/lib/python3.7/site-packages/certbot/_internal/auth_handler.py", line 86, in handle_authorizations resps = self.auth.perform(achalls) File "/home/manjeet/.local/lib/python3.7/site-packages/certbot/plugins/dns_common.py", line 76, in perform self._perform(domain, validation_domain_name, validation) File "/home/manjeet/.local/lib/python3.7/site-packages/certbot_azure/dns_azure.py", line 86, in _perform self._get_azure_client().add_txt_record(validation_name, File "/home/manjeet/.local/lib/python3.7/site-packages/certbot_azure/dns_azure.py", line 95, in _get_azure_client self.conf('credentials')) File "/home/manjeet/.local/lib/python3.7/site-packages/certbot_azure/dns_azure.py", line 106, in __init__ auth_path=account_json) File "/usr/local/lib/python3.7/dist-packages/azure/common/client_factory.py", line 256, in get_client_from_auth_file config_dict = json.load(auth_fd) File "/usr/lib/python3.7/json/__init__.py", line 296, in load parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) File "/usr/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/usr/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) 2022-04-01 00:38:15,719:DEBUG:certbot._internal.error_handler:Calling registered functions 2022-04-01 00:38:15,719:INFO:certbot._internal.auth_handler:Cleaning up challenges 2022-04-01 00:38:15,720:ERROR:certbot._internal.error_handler:Encountered exception during recovery: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) 2022-04-01 00:38:15,720:DEBUG:certbot._internal.log:Exiting abnormally: Traceback (most recent call last): File "/home/manjeet/.local/bin/certbot", line 8, in sys.exit(main()) File "/home/manjeet/.local/lib/python3.7/site-packages/certbot/main.py", line 19, in main return internal_main.main(cli_args) File "/home/manjeet/.local/lib/python3.7/site-packages/certbot/_internal/main.py", line 1715, in main return config.func(config, plugins) File "/home/manjeet/.local/lib/python3.7/site-packages/certbot/_internal/main.py", line 1574, in certonly lineage = _get_and_save_cert(le_client, config, domains, certname, lineage) File "/home/manjeet/.local/lib/python3.7/site-packages/certbot/_internal/main.py", line 139, in _get_and_save_cert lineage = le_client.obtain_and_enroll_certificate(domains, certname) File "/home/manjeet/.local/lib/python3.7/site-packages/certbot/_internal/client.py", line 513, in obtain_and_enroll_certificate cert, chain, key, _ = self.obtain_certificate(domains) File "/home/manjeet/.local/lib/python3.7/site-packages/certbot/_internal/client.py", line 441, in obtain_certificate orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names) File "/home/manjeet/.local/lib/python3.7/site-packages/certbot/_internal/client.py", line 493, in _get_order_and_authorizations authzr = self.auth_handler.handle_authorizations(orderr, self.config, best_effort) File "/home/manjeet/.local/lib/python3.7/site-packages/certbot/_internal/auth_handler.py", line 86, in handle_authorizations resps = self.auth.perform(achalls) File "/home/manjeet/.local/lib/python3.7/site-packages/certbot/plugins/dns_common.py", line 76, in perform self._perform(domain, validation_domain_name, validation) File "/home/manjeet/.local/lib/python3.7/site-packages/certbot_azure/dns_azure.py", line 86, in _perform self._get_azure_client().add_txt_record(validation_name, File "/home/manjeet/.local/lib/python3.7/site-packages/certbot_azure/dns_azure.py", line 95, in _get_azure_client self.conf('credentials')) File "/home/manjeet/.local/lib/python3.7/site-packages/certbot_azure/dns_azure.py", line 106, in __init__ auth_path=account_json) File "/usr/local/lib/python3.7/dist-packages/azure/common/client_factory.py", line 256, in get_client_from_auth_file config_dict = json.load(auth_fd) File "/usr/lib/python3.7/json/__init__.py", line 296, in load parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) File "/usr/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/usr/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) 2022-04-01 00:38:15,721:ERROR:certbot._internal.log:An unexpected error occurred: 2022-04-01 00:38:15,721:ERROR:certbot._internal.log:json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)