{"id":9422,"date":"2023-08-14T22:52:51","date_gmt":"2023-08-14T20:52:51","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=9422"},"modified":"2024-07-23T22:58:17","modified_gmt":"2024-07-23T20:58:17","slug":"openvpn-openvpn-asks-for-a-password","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/openvpn-openvpn-asks-for-a-password\/","title":{"rendered":"OpenVPN: OpenVPN asks for a password"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_9422 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_9422')){$('.twoclick_social_bookmarks_post_9422').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"OpenVPN%3A%20OpenVPN%20asks%20for%20a%20password\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Aafter%20migrating%20to%20a%20new%20client%20and%20installing%20the%20latest%20version%20of%20OpenVPN%2C%20OpenVPN%20asks%20for%20a%20password%20while%20trying%20to%20connect%20to%20the%20server.%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/openvpn-openvpn-asks-for-a-password\\\/\",\"post_id\":9422,\"post_title_referrer_track\":\"OpenVPN%3A+OpenVPN+asks+for+a+password\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>after migrating to a new client and installing the latest version of OpenVPN, OpenVPN asks for a password while trying to connect to the server.<br \/>\n<!--more--><\/p>\n<p>2 possible reasons while OpenVPN requests a password. If the PKCS12 Container or the used key has a password:<br \/>\n&#8211; On the old machine the password was stored once by the OpenVPN-GUI. Then it could be found under HKCU\\Software\\OpenVPN-GUI\\configs<br \/>\n&#8211; A directive auth-user-pass is defined in the openvpn config file:<br \/>\n  auth-user-pass password.dat<br \/>\n  Then the file password.dat must reside in the directory as the openvpn config file.<\/p>\n<p>or if <strong>no passphrase<\/strong> is set on the key within the PKCS12 container:<br \/>\n&#8211; The cipher algorithm of the \/keycertificate is to old.<\/p>\n<p>Then switch on openssl legacy algorithm in your OpenVPN (.ovpn) config file<br \/>\n[test]<br \/>\ndata-ciphers-fallback BF-CBC<br \/>\nproviders legacy default<br \/>\n[\/test]<\/p>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, after migrating to a new client and installing the latest version of OpenVPN, OpenVPN asks for a password while trying to connect to the server.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[1999,2000,857,92],"class_list":["post-9422","post","type-post","status-publish","format-standard","hentry","category-openvpn","tag-ask","tag-convert-pkcs12","tag-openvpn","tag-password"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/9422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=9422"}],"version-history":[{"count":9,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/9422\/revisions"}],"predecessor-version":[{"id":9431,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/9422\/revisions\/9431"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=9422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=9422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=9422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}