Sponsor-Board.de
HTTP / HTTPS

+- Sponsor-Board.de (https://www.sponsor-board.de)
+-- Forum: Community (/forumdisplay.php?fid=56)
+--- Forum: Hilfe (/forumdisplay.php?fid=102)
+---- Forum: Netzwerk (/forumdisplay.php?fid=107)
+---- Thema: HTTP / HTTPS (/showthread.php?tid=64212)


HTTP / HTTPS - Dalli - 22.11.2017 21:10

Servus,

ich habe eine Frage und zwar kann mir jemand bei der Installation von Lets Encrypt helfen?

Oder hat jemand ein Tutorial dafür?

Bekomme es nach dem 7. Tutorial immer noch nicht hin...


RE: HTTP / HTTPS - VanityHosting - 22.11.2017 21:13

Klar. Woran scheitert es?

Was hast du bisher versucht?
Welches System, Webserver?


RE: HTTP / HTTPS - KingKaSo - 22.11.2017 21:15

Link zur Installation von LE auf einem Server: [Link: Registrierung erforderlich]


RE: HTTP / HTTPS - Dalli - 22.11.2017 21:15

Hi Vanity,

danke für die schnelle Antwort Smile

Das kann ich dir nicht so genau erläutern, da selbst wenn ich probiere auf exahost.de oder 173.249.3.174 zu connecten bekomme ich immer wieder das selbe Bild das du auch sehen wirst...

Er leitet Automatisch auf https von Anfang an weiter was ja auch garkein Problem ist, aber ich würde gerne meine Webseite sehen. Unter 173.249.3.174/mein beispielsweise geht dann wieder alles.


RE: HTTP / HTTPS - VanityHosting - 22.11.2017 21:21

Ein paar mehr Informationen werden schon benötigt.

Zuerst: Um was geht es gerade, exahost soll die Seite sein, welche mit Letsencrypt verschlüsselt werden soll?

Wie hast du das Zertifikat versucht zu installieren / Welcher Webserver wird verwendet? (Apache, nginx..) und hiervon einmal bitte die Konfigurationen & die Info, unter welchen Pfad dein Content ist.


RE: HTTP / HTTPS - Dalli - 22.11.2017 21:25

Ja es geht um die Domain exahost.de (wollte nur dazusagen das die Webseite unter der IP auch nicht erreichbar ist)

Über mehrere Methoden, Certbot, Letsencrypt Script, etc...

Ich benutze Apache 2 Smile

Mein Content liegt unter /var/www/html


Sry, aber welche Konfiguration meinste?


RE: HTTP / HTTPS - VanityHosting - 22.11.2017 21:30

Deine VHost Konfiguration.

Zudem, wenn du soviel schon drum herum probiert hast, würde ich an deiner Stelle erstmal Apache komplett runter schmeißen und frisch neu installieren.

Zudem: Sicher dass die Index Files in var/www/html ist? Weil wenn sie unter var/www/html/mein sind, dann musst du dies auch in der vhost Konfiguration angeben.

Siehe:
[Link: Registrierung erforderlich]


RE: HTTP / HTTPS - Dalli - 22.11.2017 21:31

Ne das passt sind unter var/www/html

Okay, ich installiere den Server mal neu und kucke Smile

SO hier bin ich wieder mit dem selben Problem ist ein komplett frischer Apache aufgesetzt.

Die Standart Apache Seite wurde mir angezeigt allerdings sobald ich nun meine PHP Dateien hochlade kommt wieder Fehlermeldung


RE: HTTP / HTTPS - VanityHosting - 22.11.2017 22:21

Kannst du mal bitte ein Screenshot deiner Ordner/Dateistrukturen von /var/www/html hochladen?

Zudem: Sind alle php Erweiterungen für Apache installiert? Du lieferst relativ wenig Informationen.


RE: HTTP / HTTPS - Dalli - 22.11.2017 22:29

Hier der Screen: [Link: Registrierung erforderlich]

Ich benötige keine Erweiterungen.


RE: HTTP / HTTPS - webcraft - 22.11.2017 22:47

Was hat das jetzt mit LE zu tun? Funktioniert es nur unter https nicht? Ich habe grade mal kurz ne VM von DO erstellt und einfach nur Apache2 und direkt danach Certbot mit auto-install draufgemacht, läuft einwandfrei mit nur sehr wenigen Eingaben.

// EDIT: oder hast du einen Managed-Webspace? Dann kann die acme_challange fehlschlagen.


RE: HTTP / HTTPS - Dalli - 22.11.2017 22:53

Hi Webcraft,

nein ist ein Webspace aufm RootServer.

Die Webseite ist komplett nicht erreichbar und es wird automatisch auf https geleitet.

Der Server ist komplett neu aufgesetzt.

Hast nen Link wie du das mit dem Certbot gemacht hast?


RE: HTTP / HTTPS - VanityHosting - 22.11.2017 22:59

Dalli schrieb:
Hi Webcraft,

nein ist ein Webspace aufm RootServer.

Die Webseite ist komplett nicht erreichbar und es wird automatisch auf https geleitet.

Der Server ist komplett neu aufgesetzt.

Hast nen Link wie du das mit dem Certbot gemacht hast?


Certbot funktioniert super.

Bei Debian:
Mit "git clone [Link: Registrierung erforderlich]"
Alle Dateien runterladen, in den letsencrypt Ordner gehen und


"letsencrypt-auto" ausführen.
Den rest macht er selbst.

Anschließend kannst du noch mit
"./letsencrypt-auto --apache" das ganze automatisch konfigurieren lassen.


RE: HTTP / HTTPS - Dalli - 22.11.2017 23:08

Bekomme diese Fehlermeldung:

Code:
An unexpected error occurred:
The request message was malformed :: Error creating new authz :: DNS name does not have enough labels



Code:
2017-11-22 22:05:00,195:DEBUG:certbot.main:certbot version: 0.19.0
2017-11-22 22:05:00,195:DEBUG:certbot.main:Arguments: ['--standalone', '-d', 'exahost', '-d', 'www.exahost.de']
2017-11-22 22:05:00,195:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint #nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroo t)
2017-11-22 22:05:00,214:DEBUG:certbot.log:Root logging level set at 20
2017-11-22 22:05:00,215:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2017-11-22 22:05:00,216:DEBUG:certbot.plugins.selection:Requested authenticator standalone and installer None
2017-11-22 22:05:00,414:DEBUG:certbot.plugins.selection:Single candidate plugin: * standalone
Description: Spin up a temporary webserver
Interfaces: IAuthenticator, IPlugin
Entry point: standalone = certbot.plugins.standalone:Authenticator
Initialized: <certbot.plugins.standalone.Authenticator object at 0x7f1fb7c927d0>
Prep: True
2017-11-22 22:05:00,415:DEBUG:certbot.plugins.selection:Selected authenticator <certbot.plugins.standalone.Authenticator object at 0x7f1fb7c927d0> and installer None
2017-11-22 22:05:00,415:INFO:certbot.plugins.selection:Plugins selected: Authenticator standalone, Installer None
2017-11-22 22:05:09,853:DEBUG:acme.client:Sending GET request to https://acme-v01.api.letsencrypt.org/directory.
2017-11-22 22:05:09,860:DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
2017-11-22 22:05:10,139:DEBUG:requests.packages.urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 200 562
2017-11-22 22:05:10,140:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Content-Type: application/json
Content-Length: 562
Replay-Nonce: lCv7ppbq-9bD6T_vSvl8T1XOns8AVE8wWkxWGG8qRjs
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
Expires: Wed, 22 Nov 2017 22:05:10 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Wed, 22 Nov 2017 22:05:10 GMT
Connection: keep-alive

{
  "63W2psVMuAc": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417",
  "key-change": "https://acme-v01.api.letsencrypt.org/acme/key-change",
  "meta": {
    "terms-of-service": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf"
  },
  "new-authz": "https://acme-v01.api.letsencrypt.org/acme/new-authz",
  "new-cert": "https://acme-v01.api.letsencrypt.org/acme/new-cert",
  "new-reg": "https://acme-v01.api.letsencrypt.org/acme/new-reg",
  "revoke-cert": "https://acme-v01.api.letsencrypt.org/acme/revoke-cert"
}
2017-11-22 22:05:10,140:DEBUG:acme.client:Requesting fresh nonce
2017-11-22 22:05:10,141:DEBUG:acme.client:Sending HEAD request to https://acme-v01.api.letsencrypt.org/acme/new-reg.
2017-11-22 22:05:10,399:DEBUG:requests.packages.urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "HEAD /acme/new-reg HTTP/1.1" 405 0
2017-11-22 22:05:10,400:DEBUG:acme.client:Received response:
HTTP 405
Server: nginx
Content-Type: application/problem+json
Content-Length: 91
Allow: POST
Replay-Nonce: BqGwOB6xA51Ls52xw-rXrCYiiRcAGzSgbtEa2sxwq4M
Expires: Wed, 22 Nov 2017 22:05:10 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Wed, 22 Nov 2017 22:05:10 GMT
Connection: keep-alive


2017-11-22 22:05:10,400:DEBUG:acme.client:Storing nonce: BqGwOB6xA51Ls52xw-rXrCYiiRcAGzSgbtEa2sxwq4M
2017-11-22 22:05:10,401:DEBUG:acme.client:JWS payload:
{
  "contact": [
    "mailto:[email protected]"
  ],
  "resource": "new-reg"
}
2017-11-22 22:05:10,410:DEBUG:acme.client:Sending POST request to https://acme-v01.api.letsencrypt.org/acme/new-reg:
{
  "protected": "eyJub25jZSI6ICJCcUd3T0I2eEE1MUxzNTJ4dy1yWHJDWWlpUmNBR3pTZ2J0RWEyc3h3cTRNIiwgImFs ZyI6ICJSUzI1NiIsICJqd2siOiB7ImUiOiAiQVFBQiIsICJrdHkiOiAiUlNBIiwgIm4iOiAiNE9GRlNE b2pKdGNkU296S0lSb1BnME1ySGxjWWhKNVAwSWZJWGhhQTFfSUR3ZUxTaDBwRjNJTExMOFktWEF5dW9x WWtLNmJ0WXBxRnd3MC11NF9NZU1wbUpRV1JKZU44aDR2TzhBeWhEWi1LSUNnbHM0MUotSk5POUZ4TFdJ MXZFUzNNYXkyX2RQMC13OUlUQWdFQ2hVUTREMktLeEpjYmc0TXVnWnRiVmdhWGpmMS1yZGNCUUl1N3o0 MFRncjVhaGRabmtycmJoTi1Va2gzeUx0cV92V3h5RGtvN1hiMXBTdG84RjhWVWpmXzVXeGdIaXo0dDhP em5kWW5iTjFSSnh2ZGY3MUQ4S1ExRlh3SlJpeHptN2kxWWJsOG5mMlcxMWx5ajRjZ1QyeGJhSE1qeUE0 b2tBTzV0NHh4RXYtMHpaR240TUNxUzlNQXFDa3dJenBTNnN3In19",
  "payload": "ewogICJjb250YWN0IjogWwogICAgIm1haWx0bzppYW1zbmFzdHlAZ21haWwuY29tIgogIF0sIAogICJy ZXNvdXJjZSI6ICJuZXctcmVnIgp9",
  "signature": "cPFxR4Iy6kc1oa5vxToPuFu-4SLAVukxQa5yqdFgqSnIlIJHrz6L8bDi5zTHoTF3iUktqhue4TxI_elg718xB5HpUcym1EozJiltC9WY dUS13vkKkG0iPb3TwModhqdzOtVz4aCc8eHC_qoYr16QcRz1suEbZgNpKH70hD0stDPLhT1x8f6hDKZM SEiM4ayZAIYi1FV8AUh62dxr3eBcOPTAXSDKsa_cvkAiOLieb6Ps32aveI9pdRgefx_XJLLd9FWW6svu 1dYSKnV0cdUJunCWACQUVHplR5WcFspuWSU5wdc7CMpn97jY0U6_3176p2JuSiDiDw5ATRKtMTijEA"
}
2017-11-22 22:05:10,744:DEBUG:requests.packages.urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "POST /acme/new-reg HTTP/1.1" 201 589
2017-11-22 22:05:10,744:DEBUG:acme.client:Received response:
HTTP 201
Server: nginx
Content-Type: application/json
Content-Length: 589
Boulder-Requester: 24703757
Link: <https://acme-v01.api.letsencrypt.org/acme/new-authz>;rel="next", <https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf>;rel="terms-of-service"
Location: https://acme-v01.api.letsencrypt.org/acme/reg/24703757
Replay-Nonce: So-qnO8F3qmQpwNUMpH-SgHU-I6tM6t0Fms6qgqhCao
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
Expires: Wed, 22 Nov 2017 22:05:11 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Wed, 22 Nov 2017 22:05:11 GMT
Connection: keep-alive

{
  "id": 24703757,
  "key": {
    "kty": "RSA",
    "n": "4OFFSDojJtcdSozKIRoPg0MrHlcYhJ5P0IfIXhaA1_IDweLSh0pF3ILLL8Y-XAyuoqYkK6btYpqFww0-u4_MeMpmJQWRJeN8h4vO8AyhDZ-KICgls41J-JNO9FxLWI1vES3May2_dP0-w9ITAgEChUQ4D2KKxJcbg4MugZtbVgaXjf1-rdcBQIu7z40Tgr5ahdZnkrrbhN-Ukh3yLtq_vWxyDko7Xb1pSto8F8VUjf_5WxgHiz4t8OzndYnbN1RJxvdf71D8KQ1FXwJRixzm7i1Ybl8 nf2W11lyj4cgT2xbaHMjyA4okAO5t4xxEv-0zZGn4MCqS9MAqCkwIzpS6sw",
    "e": "AQAB"
  },
  "contact": [
    "mailto:[email protected]"
  ],
  "initialIp": "2a02:c207:3002:2796::1",
  "createdAt": "2017-11-22T22:05:11.020094178Z",
  "Status": "valid"
}
2017-11-22 22:05:10,745:DEBUG:acme.client:Storing nonce: So-qnO8F3qmQpwNUMpH-SgHU-I6tM6t0Fms6qgqhCao
2017-11-22 22:05:12,572:DEBUG:acme.client:JWS payload:
{
  "contact": [
    "mailto:[email protected]"
  ],
  "resource": "reg",
  "agreement": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf",
  "key": {
    "e": "AQAB",
    "kty": "RSA",
    "n": "4OFFSDojJtcdSozKIRoPg0MrHlcYhJ5P0IfIXhaA1_IDweLSh0pF3ILLL8Y-XAyuoqYkK6btYpqFww0-u4_MeMpmJQWRJeN8h4vO8AyhDZ-KICgls41J-JNO9FxLWI1vES3May2_dP0-w9ITAgEChUQ4D2KKxJcbg4MugZtbVgaXjf1-rdcBQIu7z40Tgr5ahdZnkrrbhN-Ukh3yLtq_vWxyDko7Xb1pSto8F8VUjf_5WxgHiz4t8OzndYnbN1RJxvdf71D8KQ1FXwJRixzm7i1Ybl8 nf2W11lyj4cgT2xbaHMjyA4okAO5t4xxEv-0zZGn4MCqS9MAqCkwIzpS6sw"
  }
}
2017-11-22 22:05:12,575:DEBUG:acme.client:Sending POST request to https://acme-v01.api.letsencrypt.org/acme/reg/24703757:
{
  "protected": "eyJub25jZSI6ICJTby1xbk84RjNxbVFwd05VTXBILVNnSFUtSTZ0TTZ0MEZtczZxZ3FoQ2FvIiwgImFs ZyI6ICJSUzI1NiIsICJqd2siOiB7ImUiOiAiQVFBQiIsICJrdHkiOiAiUlNBIiwgIm4iOiAiNE9GRlNE b2pKdGNkU296S0lSb1BnME1ySGxjWWhKNVAwSWZJWGhhQTFfSUR3ZUxTaDBwRjNJTExMOFktWEF5dW9x WWtLNmJ0WXBxRnd3MC11NF9N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elpHbjRNQ3FTOU1BcUNrd0l6cFM2c3ciCiAgfQp9",
  "signature": "Dvf00hS25iSuGNR43nKzrXoMLAbw3yn7JURHfci-t7IILRZUH1eDNcL86EycLaPBiU18jZvGtFARvDFS7AYMvhzWDj49qx0ROs7dY73yIkJvUitcdUfax73D SEF5frd9lyLFWouUReFxD6K-dIjo5FnfIIu8WEKxoqqFzf6XIsyuVRCIDyDDHHu9C8P-TKFZxhX06qHSYbqKxrLoJJRTwWhgjWa6RNd2-Q-pZ9cz0KtdpJJxvPuPzaMdcOsqRwfgRS1eSH5cN9-PdOHL3EQJdWTPqyP8ljxQUf42LAask1_gH5-KGm7Ac7dem0rDpcgeoyvdZu92CRTwhWoCzp24Xw"
}
2017-11-22 22:05:12,777:DEBUG:requests.packages.urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "POST /acme/reg/24703757 HTTP/1.1" 202 663
2017-11-22 22:05:12,778:DEBUG:acme.client:Received response:
HTTP 202
Server: nginx
Content-Type: application/json
Content-Length: 663
Boulder-Requester: 24703757
Link: <https://acme-v01.api.letsencrypt.org/acme/new-authz>;rel="next", <https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf>;rel="terms-of-service"
Replay-Nonce: eDb-Ead2jRdh73X5JvzWdM2JczcBO4Aq2AyVSg3XMAA
Expires: Wed, 22 Nov 2017 22:05:13 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Wed, 22 Nov 2017 22:05:13 GMT
Connection: keep-alive

{
  "id": 24703757,
  "key": {
    "kty": "RSA",
    "n": "4OFFSDojJtcdSozKIRoPg0MrHlcYhJ5P0IfIXhaA1_IDweLSh0pF3ILLL8Y-XAyuoqYkK6btYpqFww0-u4_MeMpmJQWRJeN8h4vO8AyhDZ-KICgls41J-JNO9FxLWI1vES3May2_dP0-w9ITAgEChUQ4D2KKxJcbg4MugZtbVgaXjf1-rdcBQIu7z40Tgr5ahdZnkrrbhN-Ukh3yLtq_vWxyDko7Xb1pSto8F8VUjf_5WxgHiz4t8OzndYnbN1RJxvdf71D8KQ1FXwJRixzm7i1Ybl8 nf2W11lyj4cgT2xbaHMjyA4okAO5t4xxEv-0zZGn4MCqS9MAqCkwIzpS6sw",
    "e": "AQAB"
  },
  "contact": [
    "mailto:[email protected]"
  ],
  "agreement": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf",
  "initialIp": "2a02:c207:3002:2796::1",
  "createdAt": "2017-11-22T22:05:11Z",
  "Status": "valid"
}
2017-11-22 22:05:12,778:DEBUG:acme.client:Storing nonce: eDb-Ead2jRdh73X5JvzWdM2JczcBO4Aq2AyVSg3XMAA
2017-11-22 22:05:12,780:DEBUG:certbot.reporter:Reporting to user: Your account credentials have been saved in your Certbot configuration directory at /etc/letsencrypt. You should make a secure backup of this folder now. This configuration directory will also contain certificates and private keys obtained by Certbot so making regular backups of this folder is ideal.
2017-11-22 22:05:15,738:DEBUG:certbot.main:Picked account: <Account(RegistrationResource(body=Registration(status=None, contact=(u'mailto:[email protected]',), agreement=u'https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf', key=JWKRSA(key=<ComparableRSAKey(<cryptography.hazmat.backends.openssl.rsa._RSAPublicKey object at 0x7f1fb7ac1c50>)>)), uri='https://acme-v01.api.letsencrypt.org/acme/reg/24703757', new_authzr_uri=None, terms_of_service='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf'), b3c9fc617c1578f78c29eeeabefc40f5, Meta(creation_host='vmd22796.contaboserver.net', creation_dt=datetime.datetime(2017, 11, 22, 22, 5, 12, tzinfo=<UTC>)))>
2017-11-22 22:05:15,742:INFO:certbot.main:Obtaining a new certificate
2017-11-22 22:05:15,742:DEBUG:acme.client:JWS payload:
{
  "identifier": {
    "type": "dns",
    "value": "exahost"
  },
  "resource": "new-authz"
}
2017-11-22 22:05:15,746:DEBUG:acme.client:Sending POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz:
{
  "protected": "eyJub25jZSI6ICJl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g"
}
2017-11-22 22:05:15,941:DEBUG:requests.packages.urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "POST /acme/new-authz HTTP/1.1" 400 137
2017-11-22 22:05:15,943:DEBUG:acme.client:Received response:
HTTP 400
Server: nginx
Content-Type: application/problem+json
Content-Length: 137
Boulder-Requester: 24703757
Replay-Nonce: j-78huqr1BdZD1c1BzsDxRDOJuf5aoxkulC0xwvq7yg
Expires: Wed, 22 Nov 2017 22:05:16 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Wed, 22 Nov 2017 22:05:16 GMT
Connection: close

{
  "type": "urn:acme:error:malformed",
  "detail": "Error creating new authz :: DNS name does not have enough labels",
  "status": 400
}
2017-11-22 22:05:15,944:DEBUG:acme.client:Storing nonce: j-78huqr1BdZD1c1BzsDxRDOJuf5aoxkulC0xwvq7yg
2017-11-22 22:05:15,944:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
  File "/opt/eff.org/certbot/venv/bin/letsencrypt", line 11, in <module>
    sys.exit(main())
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 861, in main
    return config.func(config, plugins)
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 786, in certonly
    lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 85, in _get_and_save_cert
    lineage = le_client.obtain_and_enroll_certificate(domains, certname)
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/client.py", line 357, in obtain_and_enroll_certificate
    certr, chain, key, _ = self.obtain_certificate(domains)
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/client.py", line 318, in obtain_certificate
    self.config.allow_subset_of_names)
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/auth_handler.py", line 66, in get_authorizations
    self.authzr[domain] = self.acme.request_domain_challenges(domain)
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/acme/client.py", line 212, in request_domain_challenges
    typ=messages.IDENTIFIER_FQDN, value=domain), new_authzr_uri)
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/acme/client.py", line 191, in request_challenges
    response = self.net.post(self.directory.new_authz, new_authz)
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/acme/client.py", line 682, in post
    return self._post_once(*args, **kwargs)
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/acme/client.py", line 695, in _post_once
    return self._check_response(response, content_type=content_type)
  File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/acme/client.py", line 582, in _check_response
    raise messages.Error.from_json(jobj)
Error: urn:acme:error:malformed :: The request message was malformed :: Error creating new authz :: DNS name does not have enough labels
2017-11-22 22:05:15,947:ERROR:certbot.log:An unexpected error occurred:
2017-11-22 22:05:15,948:ERROR:certbot.log:The request message was malformed :: Error creating new authz :: DNS name does not have enough labels




RE: HTTP / HTTPS - VanityHosting - 22.11.2017 23:19

Zitat:
{
"identifier": {
"type": "dns",
"value": "exahost"
},
"resource": "new-authz"
}


Du hast keine Domainendung angegeben.


RE: HTTP / HTTPS - Dalli - 22.11.2017 23:25

SO jetzt aber Smile

Ich bedanke mich bei allen und vorallem bei Vanity für die schnelle und kompetente Hilfe.

Damit noch einen wunderschönen Abend.


RE: HTTP / HTTPS - Jerr0w - 23.11.2017 09:16

In Zukunft empfehle ich dir den Letsencrypt Certbot zu benutzen.

Diesen kannst du direkt über apt installieren.

Link: [Link: Registrierung erforderlich]

Und ebenfalls empfehle ich dir, dass du den direkten Access per IP auf eine blankpage weiterleitest. Immer schön mit vHost-Files arbeiten. Und für jede Domain am besten eine eigene anlegen. Dann hast du auch eine gewisse Übersicht etc. Wink