{"id":359,"date":"2016-02-02T16:19:00","date_gmt":"2016-02-02T15:19:00","guid":{"rendered":"http:\/\/reha14syn.is.tuwien.ac.at\/wordpress\/2016\/02\/02\/gratis-echtes-ssl-zertifikat-fur-seine\/"},"modified":"2016-11-19T15:08:45","modified_gmt":"2016-11-19T14:08:45","slug":"gratis-echtes-ssl-zertifikat-fur-seine","status":"publish","type":"post","link":"https:\/\/abchaus.synology.me\/wordpress\/blog\/2016\/02\/02\/gratis-echtes-ssl-zertifikat-fur-seine\/","title":{"rendered":"Gratis echtes SSL Zertifikat f&uuml;r seine Synology"},"content":{"rendered":"<h1 align=\"justify\">Hinweis f\u00fcr alle DSM 6 Nutzer:<\/h1>\n<p align=\"justify\">Ab DSM 6 ist Let\u2019s Encrypt eingebaut und der absolut einfachste Web zu einem Zertifikat. Wer also keinen \u00c4rger will und DSM 6 und neuer hat, einfach ein Zertifikat mit Let\u2019s Encrypt anfordern.<\/p>\n<h1 align=\"justify\">F\u00fcr DSM 5 und \u00e4lter:<\/h1>\n<p align=\"justify\">StartSSL hat sein userinterface v\u00f6llig neu gemacht und dabei auch ein paar Kleinigkeiten an der leistung ge\u00e4ndert. Man kann seit kurzem nun beliebige Domain Zertifikate GRATIS ausgeben lassen. (Zuvor waren nur Hauptdomains m\u00f6glich [example.com], jetzt gehen auch subdomains [mail.example.com]). Um das alles hinzubekommen bedarf es ein paar Vorbereitungen, aber es geht.<\/p>\n<ol>\n<li>\n<div align=\"justify\">Man installiere auf seiner Synology den Mail server (ist ein Paket) und konfiguriere das gute Ding. Nicht vergessen ein Portforwarding von seinem Modem\/Router auf den Server f\u00fcr den SMTP Port (25) zu setzen. Im Prinzip mu\u00df man die Mailbox nicht nutzen, man mu\u00df nur in der Lage sein eine email von <a href=\"mailto:hostmaster@xxx\">hostmaster@xxx<\/a> oder <a href=\"mailto:webmaster@xxx\">webmaster@xxx<\/a> oder <a href=\"mailto:postmaster@xxx\">postmaster@xxx<\/a> zu empfangen. Dazu reicht i.A. ein Alias (Einstellung im Mail Server) auf einen Synology User oder eine echte email-Adresse aus. Man teste das bis man Emails auf <a href=\"mailto:webmaster@xxx\">webmaster@xxx<\/a> (oder einen der anderen) lesen kann.<br \/><a href=\"https:\/\/lh3.googleusercontent.com\/-fYLTLrIPPpQ\/VrDWzXjbATI\/AAAAAAAAeKs\/dcm4o9Laf7U\/s1600-h\/syn1%25255B3%25255D.png\"><img loading=\"lazy\" decoding=\"async\" title=\"syn1\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"syn1\" src=\"https:\/\/lh3.googleusercontent.com\/-zNLeU-SinMw\/VrDWz0hJuYI\/AAAAAAAAeKw\/ldQD_RqTmSI\/syn1_thumb%25255B1%25255D.png?imgmax=800\" width=\"644\" height=\"410\"><\/a><a href=\"https:\/\/lh3.googleusercontent.com\/-dEzx1ULKYlk\/VrDW0i69gpI\/AAAAAAAAeK4\/mOM0QQ8educ\/s1600-h\/syn2%25255B3%25255D.png\"><img loading=\"lazy\" decoding=\"async\" title=\"syn2\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"syn2\" src=\"https:\/\/lh3.googleusercontent.com\/-XRfB0RXote8\/VrDW1S13ydI\/AAAAAAAAeLA\/sKxttTZTALc\/syn2_thumb%25255B1%25255D.png?imgmax=800\" width=\"644\" height=\"405\"><\/a><\/div>\n<li>\n<div align=\"justify\">Man logge sich bei <a href=\"http:\/\/startssl.org\">http:\/\/startssl.org<\/a> ein (oder registriere, wenn man nicht schon einen Login hat, z.B. f\u00fcr ein Gratis Email-Zertifikat) und beginne mit der Domain Validierung. Man gebe den vollen Domainnamen in die Box ein (z.B. abchaus.synology.me), warte bis das Ding alles ausgelesen hat und w\u00e4hle die vorher eingerichtete email-Adresse. Die email mu\u00df man lesen und den darin enthaltenen Code in die vorgesehene Box eintragen.<br \/><a href=\"https:\/\/lh3.googleusercontent.com\/-blvlXyqKQTI\/VrDW2MuaugI\/AAAAAAAAeLI\/mcLmlfvNMDw\/s1600-h\/startssl1%25255B3%25255D.png\"><img loading=\"lazy\" decoding=\"async\" title=\"startssl1\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"startssl1\" src=\"https:\/\/lh3.googleusercontent.com\/-UFHsTzwP4cE\/VrDW28GUUWI\/AAAAAAAAeLQ\/OqZLPCSbLwY\/startssl1_thumb%25255B1%25255D.png?imgmax=800\" width=\"644\" height=\"359\"><\/a><a href=\"https:\/\/lh3.googleusercontent.com\/-aXQZU8Db0sI\/VrDW3aY8khI\/AAAAAAAAeLY\/MIHc2aY5FIw\/s1600-h\/startssl2%25255B3%25255D.png\"><img loading=\"lazy\" decoding=\"async\" title=\"startssl2\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"startssl2\" src=\"https:\/\/lh3.googleusercontent.com\/-IKqK4cFlPUA\/VrDW30YkqSI\/AAAAAAAAeLg\/Y14STlENEkI\/startssl2_thumb%25255B1%25255D.png?imgmax=800\" width=\"644\" height=\"378\"><\/a><\/div>\n<li>\n<div align=\"justify\">Nun zum eigentlichen Spiel des Zertifikates. Man gehe zu seiner Synology auf Sicherheit \/ Zertifikate und kreiere dort einen Request (CSR) mit dem Button Zertifikat erstellen.<br \/><a href=\"https:\/\/lh3.googleusercontent.com\/-rYpCro1nDX4\/VrDW4SkiNpI\/AAAAAAAAeLo\/XNymYjYYFKo\/s1600-h\/syn3%25255B3%25255D.png\"><img loading=\"lazy\" decoding=\"async\" title=\"syn3\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"syn3\" src=\"https:\/\/lh3.googleusercontent.com\/-QEoR-lCgIGY\/VrDW416XKWI\/AAAAAAAAeLw\/Kb34F1M9dws\/syn3_thumb%25255B1%25255D.png?imgmax=800\" width=\"644\" height=\"295\"><\/a><\/div>\n<li>\n<div align=\"justify\">Man f\u00fclle Daten aus. Alle Daten m\u00fcssen ausgef\u00fcllt werden, seien sie auch noch so sinnlos<br \/><a href=\"https:\/\/lh3.googleusercontent.com\/-h89gEjnVfm4\/VrDW5Y8LWRI\/AAAAAAAAeL4\/BMUXVMrRm3U\/s1600-h\/syn4%25255B3%25255D.png\"><img loading=\"lazy\" decoding=\"async\" title=\"syn4\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"syn4\" src=\"https:\/\/lh3.googleusercontent.com\/-WUMfjPAcwGU\/VrDW56Vv5sI\/AAAAAAAAeMA\/g-VqRL5KHk8\/syn4_thumb%25255B1%25255D.png?imgmax=800\" width=\"575\" height=\"484\"><\/a><\/div>\n<li>\n<div align=\"justify\">Danach kann man sein csr als archive.zip herunterladen. Man \u00f6ffne das ZIP und \u00f6ffne mit einem Texteditor server.csr. Den Inhalt kopiere man in die Zwischenablage. Man gehe auf startssl auf Order SSL Certificate und paste das CSR rein. Man soll danach seinen private key speichern (copy paste ist nicht notwendig). Wenn man best\u00e4tigt, da\u00df man den private key gespeichert hat, wird das Zertifikat erstellt. Man speichert ein weiteres ZIP Archiv.<\/div>\n<li>\n<div align=\"justify\">Synology ist keine gro\u00dfe Hilfe. Den privaten Key kann man so nicht importieren und man bekommt den Fehler, da\u00df das Zertifikat nicht zum privaten key pa\u00dft. DAs umgeht man indem man auf startssl.org auf Tool Box geht, dort auf decrypt key und dort den privaten key hineinpasted (mit dem Pa\u00dfwort). Man bekommt den entschl\u00fcsselten key und sichere den unter einem eigenen Namen (das geht f\u00fcr paranoide auch mit openssl lokal).<a href=\"https:\/\/lh3.googleusercontent.com\/-PQiX0Y3B1UU\/VrDW6Ila2dI\/AAAAAAAAeMI\/-MPf5I3Hng0\/s1600-h\/startssl3%25255B3%25255D.png\"><img loading=\"lazy\" decoding=\"async\" title=\"startssl3\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"startssl3\" src=\"https:\/\/lh3.googleusercontent.com\/-Ffl0UXXMMu4\/VrDW6pNS0LI\/AAAAAAAAeMQ\/3bdp8-aETdI\/startssl3_thumb%25255B1%25255D.png?imgmax=800\" width=\"644\" height=\"386\"><\/a><\/div>\n<li>\n<div align=\"justify\">Zuletzt gehe man wieder auf seine Synology, gehe auf Sicherheit \/ Zertifikate, import Zertifikat. In die erste Zeile lade man sein ENTSCHL\u00dcSSELTES private key file, in die zweite Zeile nehme man aus dem Zertifikats-ZIP aus dem Verzeichnis ApacheServer sein Zertifikat (2_*) und in die dritte Zeile tue man aus dem gleichen ZIP-Verzeichnis 1_root_bundle.crt). Best\u00e4tigen, nachdenken und man hat ein offizielles Zertifikat!<a href=\"https:\/\/lh3.googleusercontent.com\/-8cg7UwekGD4\/VrDW7VfB7tI\/AAAAAAAAeMY\/yUb8IlcFenQ\/s1600-h\/syn5%25255B3%25255D.png\"><img loading=\"lazy\" decoding=\"async\" title=\"syn5\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"syn5\" src=\"https:\/\/lh3.googleusercontent.com\/-WY1pM2mG8gw\/VrDW8vnUbHI\/AAAAAAAAeMk\/KgmvQrqQ7WU\/syn5_thumb%25255B1%25255D.png?imgmax=800\" width=\"644\" height=\"410\"><\/a><\/div>\n<li>\n<div align=\"justify\">Wens st\u00f6rt, der kann seinen Mail-Server wieder anhalten oder deinstallieren. Aber in einem Jahr braucht man das ganze wieder\u2026<\/div>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Hinweis f\u00fcr alle DSM 6 Nutzer: Ab DSM 6 ist Let\u2019s Encrypt eingebaut und der absolut einfachste Web zu einem<\/p>\n","protected":false},"author":1,"featured_media":535,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-359","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-allgemein"],"_links":{"self":[{"href":"https:\/\/abchaus.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/abchaus.synology.me\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/abchaus.synology.me\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/abchaus.synology.me\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/abchaus.synology.me\/wordpress\/wp-json\/wp\/v2\/comments?post=359"}],"version-history":[{"count":1,"href":"https:\/\/abchaus.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/359\/revisions"}],"predecessor-version":[{"id":987,"href":"https:\/\/abchaus.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/359\/revisions\/987"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/abchaus.synology.me\/wordpress\/wp-json\/wp\/v2\/media\/535"}],"wp:attachment":[{"href":"https:\/\/abchaus.synology.me\/wordpress\/wp-json\/wp\/v2\/media?parent=359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/abchaus.synology.me\/wordpress\/wp-json\/wp\/v2\/categories?post=359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/abchaus.synology.me\/wordpress\/wp-json\/wp\/v2\/tags?post=359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}