Hello there i get this long red error
sorry i cant give my actual domain name because of security
My domain is: example.com
from inside docker container, I ran this command:
certbot certonly --dns-google --dns-google-credentials /etc/secre
ts/google.json -d example.com -d *.example.com -i apache
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator dns-google, Installer apache
You have an existing certificate that contains a portion of the domains you
requested (ref: /etc/letsencrypt/renewal/example.com.conf)
It contains these names: example.com
You requested these names for the new certificate: example.com, *.example.com.
Do you want to expand and replace this existing certificate with the new
certificate?
(E)xpand/©ancel: e
Renewing an existing certificate
Performing the following challenges:
dns-01 challenge for example.com
Cleaning up challenges
Encountered exception during recovery:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/certbot/auth_handler.py”, line 75, in handle_author
izations
resp = self._solve_challenges(aauthzrs)
File “/usr/lib/python3/dist-packages/certbot/auth_handler.py”, line 139, in _solve_chall
enges
resp = self.auth.perform(all_achalls)
File “/usr/lib/python3/dist-packages/certbot/plugins/dns_common.py”, line 57, in perform
self._perform(domain, validation_domain_name, validation)
File “/usr/lib/python3/dist-packages/certbot_dns_google/dns_google.py”, line 70, in _per
form
self._get_google_client().add_txt_record(domain, validation_name, validation, self.ttl
)
File “/usr/lib/python3/dist-packages/certbot_dns_google/dns_google.py”, line 76, in _get
_google_client
return _GoogleClient(self.conf(‘credentials’))
File “/usr/lib/python3/dist-packages/certbot_dns_google/dns_google.py”, line 88, in in
it
credentials = ServiceAccountCredentials.from_json_keyfile_name(account_json, scopes)
File “/usr/lib/python3/dist-packages/oauth2client/service_account.py”, line 220, in from
_json_keyfile_name
client_credentials = json.load(file_obj)
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 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 co
lumn 30 (char 29)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/certbot/error_handler.py”, line 108, in _call_regis
tered
self.funcs-1
File “/usr/lib/python3/dist-packages/certbot/auth_handler.py”, line 323, in _cleanup_cha
llenges
self.auth.cleanup(achalls)
File “/usr/lib/python3/dist-packages/certbot/plugins/dns_common.py”, line 76, in cleanup
self._cleanup(domain, validation_domain_name, validation)
File “/usr/lib/python3/dist-packages/certbot_dns_google/dns_google.py”, line 73, in _cle
anup
self._get_google_client().del_txt_record(domain, validation_name, validation, self.ttl
)
File “/usr/lib/python3/dist-packages/certbot_dns_google/dns_google.py”, line 76, in _get
_google_client
return _GoogleClient(self.conf(‘credentials’))
File “/usr/lib/python3/dist-packages/certbot_dns_google/dns_google.py”, line 88, in in
it
credentials = ServiceAccountCredentials.from_json_keyfile_name(account_json, scopes)
File “/usr/lib/python3/dist-packages/oauth2client/service_account.py”, line 220, in from
_json_keyfile_name
client_credentials = json.load(file_obj)
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 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 co
lumn 30 (char 29)
An unexpected error occurred:
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 co
lumn 30 (char 29)
Please see the logfiles in /var/log/letsencrypt for more details.
My web server is (include version):
Server version: Apache/2.4.38
The operating system my web server runs on is (include version):
Debian 10
My hosting provider, if applicable, is:
GCP
I can login to a root shell on my machine (yes or no, or I don’t know):
as root by default (docker container)
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
i am using google compute engine
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot): certbot 0.31.0