Skip to content
Snippets Groups Projects
Verified Commit 99ebd385 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: conan

parent 58f3fa6d
Branches
Tags
No related merge requests found
Pipeline #9850 failed
......@@ -43,6 +43,7 @@ function cert() {
# Certificate is for localhost
KEYPW="${KEYPW}" openssl req -new -x509 -key caosdb.key.pem \
-out caosdb.cert.pem -passin env:KEYPW \
-addext "subjectAltName = DNS:${CAOSHOSTNAME}" \
-subj "/C=/ST=/L=/O=/OU=/CN=${CAOSHOSTNAME}"
KEYPW="${KEYPW}" KEYSTOREPW="$KEYSTOREPW" openssl pkcs12 -export \
-inkey caosdb.key.pem -in caosdb.cert.pem -out all-certs.pkcs12 \
......
# General
build/
include/libcaosdbConfig.h
cert/
.*
# CMake
......
......@@ -76,7 +76,7 @@ TEST(test_connection, connection_ssl_authentication_error) {
}
TEST(test_connection, connection_ssl_authentication_success) {
auto port = 8443;
auto port = 8080;
const auto host = caosdb::utils::get_env_var("CAOSDB_SERVER_HOST", "localhost");
const auto path = caosdb::utils::get_env_var("CAOSDB_SERVER_CA_PEM", std::string());
const auto user = caosdb::utils::get_env_var("CAOSDB_USER", "admin");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment