Ich hätte einen alternativen curl Befehl für das:
Code: Alles auswählen
echo -e "GET / HTTP/1.1\r\nHost: www.google.com\r\n\r" | openssl s_client -tls1 -ign_eof -connect www.google.com:443 -servername www.google.com
Code: Alles auswählen
curl -k --tlsv1 "https://www.google.com/"
Client Hello (curl): Protokoll-Version: TLS 1.0
Google: Renegotiation
Client Hello (curl): Protokoll-Version: TLS 1.3
Server Hello (Google): Protokoll-Version: TLS 1.3
Das ist nicht was ich wollte.
Im Fall von einem Server der der keine renegoishiation macht läuft das so:
Client Hello (curl): Protokoll-Version: TLS 1.0
Server Hello (Server): Protokoll Version. TLS 1.0
Alert (curl): TLS 1.0 mach ich aber nicht.
Edit: Es geht um Debian 10/buster