cname postbank?
habe getestert, was passiert, wenn ich einen cname eintrag mache,
beispiel, meinesubdomain.frank.de auf postbank.de, eher sinnlos aber ich wollte wissen, ob der webserver der postbank meckert, laut wireschark bekommt der server als metadaten host:
meinesubdomain.frank.de, eben den cname eintrag
der server rebeliert nicht,normaler weise sollte er doch erkennen, dass er zu
meinesubdomain.frank.de keinen eintrag hat, sprich, welche seite er präsentieren, bedeutet doch, kein eintrag, ich zeige standartseite, sehr ihr das auch
bei einem telnet oder openvpn server wäre es ja egal, da er ja keine http metadaten bekommt,
Kommt ein https. bzw. tls error?
Nichts, es funktioniert, Probier es aus , http://test.frank-edveasy.de/
2 Antworten
Es passiert genau das was passieren sollte. Dein Browser sagt ganz laut HALT STOP!!!

Ne keine Firewall. Das ist einfach der Browser der sieht, dass das TLS-Cert. nicht passt und schreit.
er macht schon das, was ich erwarte:
curl -I http://meinesubdomain.frank.de
HTTP/1.1 302 Found
Date: Wed, 07 May 2025 09:22:17 GMT
Server: Apache
Location: https://meinesubdomain.frank.de/
Connection: close
Content-Type: text/html; charset=iso-8859-1
curl -I https://meinesubdomain.frank.de
curl: (60) SSL: no alternative certificate subject name matches target host name 'meinesubdomain.frank.de'
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
curl -Ik https://meinesubdomain.frank.de/
HTTP/1.1 302 Found
Date: Wed, 07 May 2025 09:29:20 GMT
Server: Apache
Strict-Transport-Security: max-age=31536000
Location: https://www.postbank.de/errorpages/404.html
Content-Type: text/html; charset=iso-8859-1
Ich habe das jetzt der einfachheit halber mit einem Hosts-Eintrag gemacht, aber das Verhalten ist am Ende das Gleiche wie bei einem CNAME Eintrag.
Du bist Admin, aber die nicht Profis hätten angenommen Metadaten Host ist Postbank.de
da passiert genau das gleiche. Wenn man es ohne http aufruft, kommt ein redirect auf https, wenn man dem folgt, bekommt man einen Zertifikatsfehler, weil im Serverzertifikat der hostname test.frank-edveasy.de nicht drin steht. Wenn man den Fehler ignoriert kommt ein Redirect auf die URL https://postbank.de/errorpages/404.html.
curl -I http://test.frank-edveasy.de
HTTP/1.1 302 Found
Date: Wed, 07 May 2025 11:00:03 GMT
Server: Apache
Location: https://test.frank-edveasy.de/
Connection: close
Content-Type: text/html; charset=iso-8859-1
curl -I https://test.frank-edveasy.de
curl: (60) SSL: no alternative certificate subject name matches target host name 'test.frank-edveasy.de'
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
curl -Ik https://test.frank-edveasy.de
HTTP/1.1 302 Found
Date: Wed, 07 May 2025 11:00:17 GMT
Server: Apache
Strict-Transport-Security: max-age=31536000
Location: https://www.postbank.de/errorpages/404.html
Content-Type: text/html; charset=iso-8859-1
metadaten host:
meinesubdomain.frank.de, eben den cname eintrag,finde ich interessant, dachte, Metadaten Host wäre Postbank nicht , ,
schau mal,
test.frank-edveasy.de
server meckert etwas, das war’s auch
Denke, zwischen dir und Postbank gibt wohl noch eine Firewall, bei mir klappt es, egal ob Firefox, opera, Safari, Postbank kommt,