lqj01
lqj01
这个`/root/xxxxxx.p12`是已经在容器中的,容器截图:  这个`/root/xxxxx.p12`是通过容器启动参数`-v $HOME/.easyconn_dir:/root`放入容器的 目前依旧无法使用证书 
运行命令: `docker run --device /dev/net/tun --cap-add NET_ADMIN -ti -v $HOME/.easyconn_test_768:/root/.easyconn -v $HOME/.easyconn_test_768_dir:/root -p 4000:1080 -e EC_VER=7.6.8 hagb/docker-easyconnect:cli` `ls -lh /usr/share/sangfor/EasyConnect/resources`: 
> 似乎看到了可能的关键信息(`ECAgent.log` 中) > > ``` > [2021-03-30 02:01:02][I][ 368][ImportCertCommon]ImportCertCommon, Failed to Base64Decode for filePath: /root/xxxx.p12. > ``` 我也认为应该是这条提示信息提示出错,但是不知该如何解决。 在7.6.3 vnc版本中使用证书,进行图形化界面选证书是没有问题的,日志中不会出现类似提示。
这个放到这个目录后依旧不行:   日志信息: `[2021-03-30 07:32:31][W][ 117][getCertType]fopen cert(+Z靔x⒖膉虃農唠z???宀潭漹) failed, errno:2, error:No such file or directory.` 我看到可能是路径乱码了,再次尝试`cert pathname: /root/xxxxx.p12`,依旧不可以,日志结果: `[2021-03-30 07:37:46][I][ 368][ImportCertCommon]ImportCertCommon, Failed to Base64Decode for filePath: /root/xxxxx.p12.` 此路径文字编码没有问题 再次尝试`cert pathname:...
证书路径为:`cert pathname: /usr/share/sangfor/EasyConnect/resources/user_cert/xxxx.p12`的完整日志: ``` success [2021-03-30 07:38:48][E][ 435][InitServerCert]InitServerCert ret = 0 [2021-03-30 07:39:08][W][ 117][getCertType]fopen cert(+Z靔x⒖膉虃農唠z???宀潭漹) failed, errno:2, error:No such file or directory. [2021-03-30 07:39:08][I][ 167][CheckCertType][Agent] get import cert type is...
我开启了debug log: 看到登陆时,在我输入完用户名、密码,还**没有输入证书路径**时,它会自动寻找xxxxx.p12证书,但是它没找到,您能帮我看看他是在那个目录进行搜寻吗? 在我输入完用户名密码,没有输入证书路径时,已打印的debug日志: ``` [2021-03-30 11:16:42][D][1295][SelectCertByIssuer]xxxxx.p12 is not cert, skip it [2021-03-30 11:16:42][D][1285][SelectCertByIssuer].. is not cert, skip it [2021-03-30 11:16:42][D][1285][SelectCertByIssuer]. is not cert, skip it ``` xxxxx为 用户名,证书名称也是 用户名+.p12
@dohe0342 Very nice results! Can you share your trained model if it is possible? my email is [[email protected]](mailto:[email protected])
#48