增加同步 wpr root 证书

This commit is contained in:
fumingwei
2020-10-07 14:27:38 +08:00
parent ff46f75021
commit 9f841ee991
2 changed files with 2 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ set(CPACK_RPM_POST_UNINSTALL_SCRIPT_FILE ${CMAKE_SOURCE_DIR}/cmake/PostunInstall
install(FILES docker-compose/docker-compose.yml DESTINATION ./compose)
install(FILES unittest_python/unittest/etc/tsg-diagnose.config DESTINATION ./etc)
install(FILES wpr_golang/wpr/wpr_cert.pem DESTINATION ./etc)
install(FILES docker-compose/tsg-diagnose.service DESTINATION /usr/lib/systemd/system)
install(DIRECTORY images/ DESTINATION ./images)
install(DIRECTORY deploy/ DESTINATION ./deploy)

View File

@@ -1,4 +1,5 @@
#!/bin/sh
mkdir -p /opt/tsg/tsg-diagnose/.badssl_cert_dict/CA
cp /opt/tsg/tsg-diagnose/.badssl_cert_dict/certs/sets/current/gen/crt/ca-root.crt /opt/tsg/tsg-diagnose/.badssl_cert_dict/CA
cp /opt/tsg/tsg-diagnose/etc/wpr_cert.pem /opt/tsg/tsg-diagnose/.badssl_cert_dict/CA
rsync --daemon --config=/opt/tsg/tsg-diagnose/deploy/rsync/rsyncd.conf