我使用以下命令连接:-
curl --cert-type P12 --cert ./my.p12:password --cacert ./my-cert.pem https://host:8443/api/root但是得到这个错误:
curl:(58)无法加载客户端证书:-8018 (SEC_ERROR_UNKNOWN_PKCS11_ERROR)
卷曲版==:
curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 操作系统版本:-
CentOS Linux7.7.1908版(核心)
卷曲与-v结果:
发布于 2021-05-29 13:09:10
试试这个:
采取从这里开始
更改配置文件/etc/opensc/opensc.conf中的以下行:
# reader_drivers = openct, pcsc, ctapi;至:
reader_drivers = pcsc;https://unix.stackexchange.com/questions/607351
复制相似问题