提交 35615769 编写于 作者: A Aaron Xiao 提交者: Jiangtao Hu

Common: Move HTTPS utils to global to be shared with Dreamview.

上级 a33f4138
......@@ -18,7 +18,7 @@ node_modules
# generated files
generatedViews
generatedScripts
modules/hmi/conf/keys
modules/common/data/ssl_keys
# database/log files
*.sqlite
dreamview.log
......
server {
https {
enabled: false
server_key: 'modules/hmi/conf/keys/server.key'
server_cert: 'modules/hmi/conf/keys/server.crt'
server_key: 'modules/common/data/ssl_keys/server.key'
server_cert: 'modules/common/data/ssl_keys/server.crt'
}
}
modules {
......
......@@ -4,7 +4,7 @@ set -x
Domain=apollo.hmi
IP=127.0.0.1
KEYS_DIR="$(dirname $0)"/../conf/keys
KEYS_DIR="$(dirname $0)"/../modules/common/data/ssl_keys
# Clear KEYS_DIR and cd into it.
rm -fr "${KEYS_DIR}"
......@@ -27,7 +27,6 @@ function GenerateServerKeys() {
OPENSSL_CONF_FILE="./openssl.conf"
echo "[req]req_extensions = v3_req
[v3_req]
basicConstraints = CA:TRUE
subjectAltName = @alt_names
[alt_names]
IP.1 = ${IP}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册