{"id":39,"date":"2015-08-20T20:37:27","date_gmt":"2015-08-20T20:37:27","guid":{"rendered":"http:\/\/www.joontech.nl\/wordpress\/?p=39"},"modified":"2015-08-20T20:37:27","modified_gmt":"2015-08-20T20:37:27","slug":"synology-certificates-ssl-and-open-vpn-dsm-5-0","status":"publish","type":"post","link":"http:\/\/wordpress.joontech.nl\/?p=39","title":{"rendered":"Synology certificates, SSL and Open VPN [DSM 5.0]"},"content":{"rendered":"<p>Information for DSM 5.0 The certifiactes can be found here: \/usr\/syno\/etc\/ssl This page gives you good information how to create home made certificates for your Synology NAS:<a href=\"http:\/\/forum.synology.com\/wiki\/index.php\/How_to_generate_custom_SSL_certificates\"> http:\/\/forum.synology.com\/wiki\/index.php\/How_to_generate_custom_SSL_certificates<\/a> I prefer to let a Certificate Authority sign my certificates. CA Cert offers this as a free services (https:\/\/www.cacert.org\/). It will not give you 100% guarantee, but it is better then using the self signed certificates from synology:<\/p>\n<ul>\n<li>You can import the root certificate of the CA to most tools\/OS. That way you do not need to add a security exception when connecting.<\/li>\n<li>Some tools do not allow you to add security exception, so using a self signed certificate is not an option.<\/li>\n<\/ul>\n<p>Restart OpenVPN server: \/var\/packages\/VPNCenter\/target\/scripts\/openvpn.sh {start|stop|restart} But it does not stop, you need to kill the processes manually. But reastart works, wierd\u2026.. \/usr\/syno\/etc\/packages\/VPNCenter\/openvpn\/openvpn.conf contains the configuration file for the OpenVPN server. Enable the logging option log-append \/var\/log\/openvpn.log To get useful information on what is happening with the server The SSH keys used for OpenVPN can be found here:<\/p>\n<p>\/usr\/syno\/etc\/packages\/VPNCenter\/openvpn\/keys<br \/>\nIn the config file openvpn.conf, there are pointers to these files.<\/p>\n<p>note that the certificates we use are probably not from the type \u201cserver\u201d.\u00a0 If you get this error when connecting to the server:<\/p>\n<p>VERIFY nsCertType ERROR: CN=&lt;yourHostName&gt;, require nsCertType=SERVER<\/p>\n<p>then remove this line from the client config:<br \/>\nns-cert-type server<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Information for DSM 5.0 The certifiactes can be found here: \/usr\/syno\/etc\/ssl This page gives you good information how to create home made certificates for your Synology NAS: http:\/\/forum.synology.com\/wiki\/index.php\/How_to_generate_custom_SSL_certificates I prefer to let a Certificate Authority sign my certificates. CA Cert offers this as a free services (https:\/\/www.cacert.org\/). It will not give you 100% guarantee, but &hellip; <a href=\"http:\/\/wordpress.joontech.nl\/?p=39\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Synology certificates, SSL and Open VPN [DSM 5.0]&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-39","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=\/wp\/v2\/posts\/39","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=39"}],"version-history":[{"count":1,"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=\/wp\/v2\/posts\/39\/revisions"}],"predecessor-version":[{"id":40,"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=\/wp\/v2\/posts\/39\/revisions\/40"}],"wp:attachment":[{"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}