增加获取HSM私钥句柄

安装包增加libcertex库
增加HSM配置文件rcsp.con
This commit is contained in:
fengweihao
2020-11-25 14:10:26 +08:00
parent d452d7b5f2
commit f3cbd19825
17 changed files with 899 additions and 325 deletions

View File

@@ -28,6 +28,7 @@ set(CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX /home/tsg)
install(PROGRAMS build/program/certstore DESTINATION ./bin)
install(DIRECTORY resource/cert DESTINATION ./)
install(DIRECTORY resource/conf DESTINATION ./)
install(DIRECTORY resource/lib DESTINATION ./)
install(FILES script/tool/signssl.sh DESTINATION ./tool)
install(FILES script/tool/x509 DESTINATION ./tool)
@@ -35,6 +36,8 @@ install(FILES script/tool/x509 DESTINATION ./tool)
install(FILES script/service/certstore.service DESTINATION /usr/lib/systemd/system/)
install(FILES script/tmpfiles/cert_store.conf DESTINATION /usr/lib/tmpfiles.d/)
install(FILES resource/rcsp/rcsp.conf DESTINATION /etc)
# Must uninstall the debug package before install release package
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
set(CPACK_RPM_PACKAGE_CONFLICTS "certostre")