Well Thanks Again Micheal.
Did as u said. Made all certificates and keys in windows 7 and put in Dreambox.
Unfortunatelly I get some errors during making of certificates and during starting the server both on windows and on dreambox.
I ve read about those errors, but couldn't find and working solution.
First one: By every certificate i get an error
build-ca.bat: can't open config file: /etc/ssl/openssl.cnf
according to this post:
topic11070.html i can just ignore it.
build-dh.bat same error
build-key-server.bat same error
build-key user same error
build-dh.bat same error
Already tried to do all keys and certificates 2 times. Keys are looking good. Files aren't curropt.
Second problem is starting open with server.ovpn (windows7 x86 and windows 8.1x64 ) and server.conf (Dreambox):
WINDOWS :
---------------------------------------------------------------------------------
Wed Mar 25 17:42:08 2015 OpenVPN 2.3.6 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Mar 19 2015
Wed Mar 25 17:42:08 2015 library versions: OpenSSL 1.0.1m 19 Mar 2015, LZO 2.08
Enter Management Password:
Wed Mar 25 17:42:08 2015 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Wed Mar 25 17:42:08 2015 Need hold release from management interface, waiting...
Wed Mar 25 17:42:08 2015 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Wed Mar 25 17:42:08 2015 MANAGEMENT: CMD 'state on'
Wed Mar 25 17:42:08 2015 MANAGEMENT: CMD 'log all on'
Wed Mar 25 17:42:08 2015 MANAGEMENT: CMD 'hold off'
Wed Mar 25 17:42:08 2015 MANAGEMENT: CMD 'hold release'
Wed Mar 25 17:42:08 2015 NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
Wed Mar 25 17:42:09 2015 Diffie-Hellman initialized with 1024 bit key
Wed Mar 25 17:42:09 2015 MANAGEMENT: Client disconnected
Wed Mar 25 17:42:09 2015 Cannot load certificate file DREAMBOX.csr: error:0906D06C:PEM routines:PEM_read_bio:no start line: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
Wed Mar 25 17:42:09 2015 Exiting due to fatal error
----------------------------------------------------------------------------------------
Dreambox
----------------------------------------------------------------------------------------
root@DM800SEV2:~# openvpn --config /etc/openvpn/server.conf
Wed Mar 25 18:03:28 2015 OpenVPN 2.3.2 mipsel-oe-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Feb 15 2015
Wed Mar 25 18:03:28 2015 NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
Wed Mar 25 18:03:28 2015 Diffie-Hellman initialized with 1024 bit key
Wed Mar 25 18:03:28 2015 Cannot load certificate file /etc/openvpn/keys/DREAMBOX.csr: error:0906D06C:PEM routines:PEM_read_bio:no start line: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
Wed Mar 25 18:03:28 2015 Exiting due to fatal error
root@DM800SEV2:~#
----------------------------------------------------------------------------------------
I am sure there is some simple sollution for it , but where ?
