大网数据广告活动
服务器运维问答

How could I prevent NetExtender Cli to asking certificate confirmation?

· 52CE 我爱测

Our company is using self-signed SonicWall for firewall facility. And remote clients needs to be connect to internal network through VPN via NetExtender client. Some of the clients are using Linux OS without Desktop Environment o…

问题原文

原帖链接 · Sencer H. · CC BY-SA 3.0

Our company is using self-signed SonicWall for firewall facility. And remote clients needs to be connect to internal network through VPN via NetExtender client.

Some of the clients are using Linux OS without Desktop Environment on purpose.

There is an issue occurring with NetExtender Client at those no Desktop Environment computers on each connection attempt.

On each connection attempt NetExtender client need to be approved for this question:

Warning: self signed certificate

Do you want to proceed? (Y:Yes, N:No, V:View Certificate)

I read about self-signed certificates from this link

Than I try to install /home/$USER/.netExtenderCerts/PUB_CERT/ca-bundle.crt file by copying to /usr/local/share/ca-certificates and using update-ca-certificiates command.

# cp /home/$USER/.netExtenderCerts/PUB_CERT/ca-bundle.crt /usr/local/share/ca-certificates
# update-ca-certificates 
Updating certificates in /etc/ssl/certs...
1 added, 0 removed; done.

After applying this method and rebooted the OS, NetExtender Client still hanging at same question. This were preventing to build automated connection.

How could I prevent netExtender client to asking this question?

社区高分解答

原帖链接 · Alfredo Prada Giorgi · CC BY-SA 4.0

To prevent NetExtender's certificate verification dialogue, you can use the undocumented switch "--always-trust"

For example:

netExtender -u user -p password -d 'domain' --always-trust host

Tested on Linux, but I'm not sure about NetExtender Windows CLI.

Note: as commented by Håkan Lindqvist, take into consideration that this will open up for MITM attacks.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-09-21)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0 / CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。