我需要在Ubuntu操作系统中使用TPM芯片来保护基于AD机器的证书(.cert,.pem,.key文件)。
要求如下:
从AD下载到特定目录的证书需要encryption或保护,以防止用户访问。
1)从Active Directory下载证书到Ubuntu机器(使用诸如centrify之类的桥接工具)
2)使用私钥签署证书并将私钥存储在TPM芯片上(如果可用,则使用libtpm engine-openssl)
3)使用签名证书和密钥来configurationWiFi / VPN以build立连接
需要一些在这个话题的见解。 我能够无任何问题地执行第一步。 挑战从在Ubuntu机器上使用TPM的第二步开始。
目前在ubuntu存储库中没有可用的libengine-tpm-openssl软件包。 而试图使用libtpm引擎openssl给出错误
**139927887963808:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libtpm.so): /usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libtpm.so: cannot open shared object file: No such file or directory 139927887963808:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244: 139927887963808:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450: 139927887963808:error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:417:id=tpm 139927887963808:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libtpm.so): libtpm.so: cannot open shared object file: No such file or directory 139927887963808:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244: 139927887963808:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450:**
另外,即使我能够完成第二步将密钥存储在TPM中。 是否有可能使wpa_supplicant / openconnect vpn客户端能够读取密钥,以build立成功的连接?