From 0ac8a68cd5b31b9ebf66a4345f24ca6fe77afed7 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 1 Feb 2018 22:26:17 +0100 Subject: keeping only final solution in HOWTO.LetsEncrypt --- static/howtos/HOWTO.LetsEncrypt | 61 ++--------------------------------------- 1 file changed, 2 insertions(+), 59 deletions(-) diff --git a/static/howtos/HOWTO.LetsEncrypt b/static/howtos/HOWTO.LetsEncrypt index 3d5c630..e88d31d 100644 --- a/static/howtos/HOWTO.LetsEncrypt +++ b/static/howtos/HOWTO.LetsEncrypt @@ -1,61 +1,4 @@ -1) The official packages in EPEL are broken (at least I was unable to install them). - -2) Guide on https://www.svennd.be/lets-encrypt-with-centos-6-7/ - -https://acme-v01.api.letsencrypt.org:443 "POST /acme/new-reg HTTP/1.1" 500 109 -Received response: -HTTP 500 -Server: nginx -Content-Type: application/problem+json -Content-Length: 109 -Boulder-Request-Id: c77q1COmALMLIgG9WxjOUsXmj0UN9dt4oUWEe-S_Su0 -Replay-Nonce: x5MSSJadipC0jW_qyG7XN8wGBjeNn3eF5bbTe2ciwYM -Expires: Wed, 09 Aug 2017 05:23:01 GMT -Cache-Control: max-age=0, no-cache, no-store -Pragma: no-cache -Date: Wed, 09 Aug 2017 05:23:01 GMT -Connection: close - -{ - "type": "urn:acme:error:serverInternal", - "detail": "Error creating new registration", - "status": 500 -} -Storing nonce: x5MSSJadipC0jW_qyG7XN8wGBjeNn3eF5bbTe2ciwYM -Exiting abnormally: -Traceback (most recent call last): - File "/root/.local/share/letsencrypt/bin/letsencrypt", line 11, in - sys.exit(main()) - File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/main.py", line 753, in main - return config.func(config, plugins) - File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/main.py", line 598, in run - le_client = _init_le_client(config, authenticator, installer) - File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/main.py", line 390, in _init_le_client - acc, acme = _determine_account(config) - File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/main.py", line 375, in _determine_account - config, account_storage, tos_cb=_tos_cb) - File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/client.py", line 165, in register - regr = perform_registration(acme, config) - File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/client.py", line 195, in perform_registration - return acme.register(messages.NewRegistration.from_data(email=config.email)) - File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/acme/client.py", line 97, in register - response = self.net.post(self.directory[new_reg], new_reg) - File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/acme/client.py", line 682, in post - return self._post_once(*args, **kwargs) - File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/acme/client.py", line 695, in _post_once - return self._check_response(response, content_type=content_type) - File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/acme/client.py", line 582, in _check_response - raise messages.Error.from_json(jobj) -Error: urn:acme:error:serverInternal :: The server experienced an internal error :: Error creating new registration -An unexpected error occurred: -The server experienced an internal error :: Error creating new registration -Please see the logfiles in /var/log/letsencrypt for more details. - -and installs half of Python bullshit onto machine! - -This is no way, compare to acme_client on OpenBSD. - -3) https://kristaps.bsd.lv/acme-client/ +(tried on Centos 6.9) yum install openssl-devel libbsd-devel gnutls-devel wget https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.6.0.tar.gz @@ -113,4 +56,4 @@ links https://www.metachris.com/2015/12/comparison-of-10-acme-lets-encrypt-clients/ https://medium.com/chris-opperwall/using-acme-client-for-letsencrypt-on-freebsd-db0ee643ef1f - +https://kristaps.bsd.lv/acme-client/ -- cgit v1.2.3-54-g00ecf