lqj01

Results 8 comments of lqj01

这个`/root/xxxxxx.p12`是已经在容器中的,容器截图: ![微信图片_20210330100732](https://user-images.githubusercontent.com/60415778/112923086-2f27bd00-9140-11eb-8ede-223c66547817.png) 这个`/root/xxxxx.p12`是通过容器启动参数`-v $HOME/.easyconn_dir:/root`放入容器的 目前依旧无法使用证书 ![image](https://user-images.githubusercontent.com/60415778/112923502-03f19d80-9141-11eb-9f79-b4f7ef7c8451.png)

运行命令: `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`: ![image](https://user-images.githubusercontent.com/60415778/112940261-7b362a00-915f-11eb-81ea-b43cc65d6129.png)

> 似乎看到了可能的关键信息(`ECAgent.log` 中) > > ``` > [2021-03-30 02:01:02][I][ 368][ImportCertCommon]ImportCertCommon, Failed to Base64Decode for filePath: /root/xxxx.p12. > ``` 我也认为应该是这条提示信息提示出错,但是不知该如何解决。 在7.6.3 vnc版本中使用证书,进行图形化界面选证书是没有问题的,日志中不会出现类似提示。

这个放到这个目录后依旧不行: ![微信截图_20210330153108](https://user-images.githubusercontent.com/60415778/112951654-28b03a00-916e-11eb-8e5d-2ced6c743692.png) ![微信截图_20210330153317](https://user-images.githubusercontent.com/60415778/112951672-2cdc5780-916e-11eb-9b10-6be825cf8ce0.png) 日志信息: `[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])