Comments (2)
Same here!
Works fine when done manually, but failed when using this tool:
$ echo -e "y\n${USER}\n${PASSWORD}" | "/path/to/Cisco AnyConnect Secure Mobility Client/vpncli.exe" connect ${URL} -s
Cisco AnyConnect Secure Mobility Client (version 4.8.01090) .
Copyright (c) 2004 - 2019 Cisco Systems, Inc. All Rights Reserved.
>> state: Disconnected
>> state: Disconnected
>> notice: Ready to connect.
>> registered with local VPN subsystem.
>> contacting host (<SERVER>) for login information...
>> notice: Contacting <SERVER>.
AnyConnect cannot verify server: <SERVER>
- Certificate does not match the server name.
- Certificate is from an untrusted source.
- Certificate has an invalid date.
Connecting to this server may result in a severe security compromise!
Most users do not connect to untrusted servers unless the reason for the error condition is known.
Connect Anyway? [y/n]:
>> Please enter your username and password.
.....
>> notice: Establishing VPN...
>> state: Connected
@hacki11, Looks like line 20 is the culprit:
cisco-anyconnect-cli/cisco_anyconnect_cli/cisco_anyconnect.py
Lines 15 to 22 in 9139ad4
from cisco-anyconnect-cli.
fixed with #9
from cisco-anyconnect-cli.
Related Issues (5)
- Q about non-password login HOT 7
- group name | profile Name HOT 1
- does not work in linux HOT 2
- Does this support 2FA? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cisco-anyconnect-cli.