Giter Club home page Giter Club logo

ovpn-to-apc's People

Contributors

rustydust avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ovpn-to-apc's Issues

Options error: No Closing Quotation

So I've created an APC file with the script which imports into Sophos UTM 9.3 ok but in the UTM's log I can see when it's trying to connect that it's getting this error:
Options error: No closing quotation (") in /etc/openvpn/client/REF_SslCliAzure2/config:9

When I open that file, it is indeed missing a quote:
tls-remote "tls-auth /etc/ta_LuWlMsqd.key

Is this an issue with the script or is it something I've entered wrong along the way?

Few Errors

ovpn-to-apc.sh: 245: [: : unexpected operator and cat: : No such file or directory

Seems odd as cat definitely is there. Debian machine. Will try CentOS.

Any thoughts?

Edit: definitely no better on CentOS

ovpn-to-apc.sh: line 285: bc: command not found
ovpn-to-apc.sh: line 287: printf: missing hex digit for \x

OSX next!

Edit 2: Made some progress, down to:

ovpn-to-apc.sh: 245: [: unexpected operator

ovpn-to-apc.sh: 113: ovpn-to-apc.sh: Bad substitution

Configuration package is corrupt

When trying to upload the converted apc file to sophos utm 9 , its thorwing and error saying Configuration package is corrupt.

Please advise.

"VERIFY X509NAME ERROR" on my UTM

i have a working configuration (tried with Tunnelblick-client) inclusive all certificates and keys. now i tried to convert my ovpn config to apc to establish a connection with my utm and now getting this issue...

can anyone tell me whats wrong, or why it is not working?

2016:01:19-22:26:58 UTM openvpn[2222]: TLS: Initial packet from [AF_INET]x.x.x.x:1194 (via [AF_INET]x.x.x.x%eth1), sid=d865c36c 98e7b4b3
2016:01:19-22:26:58 UTM openvpn[2222]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
2016:01:19-22:26:58 UTM openvpn[2222]: VERIFY OK: depth=1, C=DE, ST=BY, L=Muenchen, O=LCServer, OU=changeme, CN=changeme, name=changeme, [email protected]
2016:01:19-22:26:58 UTM openvpn[2222]: VERIFY X509NAME ERROR: C=DE, ST=BY, L=Muenchen, O=LCServer, OU=changeme, CN=server, name=changeme, [email protected], must be changeme
2016:01:19-22:26:58 UTM openvpn[2222]: TLS_ERROR: BIO read tls_read_plaintext error: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
2016:01:19-22:26:58 UTM openvpn[2222]: TLS Error: TLS object -> incoming plaintext read error
2016:01:19-22:26:58 UTM openvpn[2222]: TLS Error: TLS handshake failed 

on the commandline its seems to be valid

openssl verify -CAfile ca.crt client.crt 
client.crt: OK

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.