The request message was malformed :: RSA keys are not allowed


#1

I get following error when doing a request as of since a few minutes. No idea what is the problem.

2016-01-12 19:02:34,458:DEBUG:root:Received <Response [400]>. Headers: {'Content-Length': '84', 'Expires': 'Tue, 12 Jan 2016 19:02:40 GMT', 'Server': 'nginx', 'Connection': 'close', 'Pragma': 'no-cache', 'Cache-Control': 'max-age=0, no-cache, no-store', 'Date': 'Tue, 12 Jan 2016 19:02:40 GMT', 'Content-Type': 'application/problem+json', 'Replay-Nonce': 'Bqh7ZDjZhNvLnDR7WI1cRlRGJeqK3hbQnRyYzHE8llY'}. Content: '{"type":"urn:acme:error:malformed","detail":"RSA keys are not allowed","status":400}' 2016-01-12 19:02:34,458:DEBUG:acme.client:Storing nonce: '\x06\xa8{d8\xd9\x84\xdb\xcb\x9c4{X\x8d\\FTF%\xea\x8a\xde\x16\xd0\x9d\x1c\x98\xccq<\x96V' 2016-01-12 19:02:34,459:DEBUG:acme.client:Received response <Response [400]> (headers: {'Content-Length': '84', 'Expires': 'Tue, 12 Jan 2016 19:02:40 GMT', 'Server': 'nginx', 'Connection': 'close', 'Pragma': 'no-cache', 'Cache-Control': 'max-age=0, no-cache, no-store', 'Date': 'Tue, 12 Jan 2016 19:02:40 GMT', 'Content-Type': 'application/problem+json', 'Replay-Nonce': 'Bqh7ZDjZhNvLnDR7WI1cRlRGJeqK3hbQnRyYzHE8llY'}): '{"type":"urn:acme:error:malformed","detail":"RSA keys are not allowed","status":400}' 2016-01-12 19:02:34,459:DEBUG:letsencrypt.cli:Exiting abnormally: Traceback (most recent call last): File "/home/vagrant/.local/share/letsencrypt/bin/letsencrypt", line 11, in <module> sys.exit(main()) File "/home/vagrant/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py", line 1396, in main return args.func(args, config, plugins) File "/home/vagrant/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py", line 587, in obtain_cert le_client = _init_le_client(args, config, authenticator, installer) File "/home/vagrant/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py", line 174, in _init_le_client acc, acme = _determine_account(args, config) File "/home/vagrant/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py", line 161, in _determine_account config, account_storage, tos_cb=_tos_cb) File "/home/vagrant/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/client.py", line 118, in register regr = perform_registration(acme, config) File "/home/vagrant/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/client.py", line 148, in perform_registration return acme.register(messages.NewRegistration.from_data(email=config.email)) File "/home/vagrant/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/client.py", line 99, in register response = self.net.post(self.directory[new_reg], new_reg) File "/home/vagrant/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/client.py", line 636, in post return self._check_response(response, content_type=content_type) File "/home/vagrant/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/client.py", line 552, in _check_response raise messages.Error.from_json(jobj) Error: urn:acme:error:malformed :: The request message was malformed :: RSA keys are not allowed


#2

This first 6 lines would be the last of the interesting dump. But to help we need the request and not only the part after the error reponse.


#3

The release to staging yesterday had this problem due to a bug in the new ECDSA support. Ops rolled it back and we landed a new fix to staging about an hour later.


#4

That clarifies. Thanks for the reply. Will test and develop my script further asap. Just one thing…

I love Letsencrypt already…