File tree 3 files changed +4
-3
lines changed
.github/actions/build-native-binary
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ runs:
106
106
-keyout /etc/ssl/private/selfupdateagent.key \
107
107
-out /etc/ssl/certs/selfupdateagent.crt \
108
108
-config utest/sua-certificate.config
109
+ sudo tee -a /etc/ssl/certs/ca-certificates.crt < /etc/ssl/certs/selfupdateagent.crt > /dev/null
109
110
shell : bash
110
111
111
112
- name : Install and configure apache2
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ namespace sua {
57
57
std::shared_ptr<IBundleChecker> bundleChecker;
58
58
std::string updatesDirectory = " /data/selfupdates" ;
59
59
std::string tempFileName = " /temp_file" ;
60
- std::string certificateFileName = " /etc/ssl/certs/selfupdateagent .crt" ;
60
+ std::string certificateFileName = " /etc/ssl/certs/ca-certificates .crt" ;
61
61
bool downloadMode = true ;
62
62
bool fallbackMode = false ;
63
63
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ SUA_SERVER sets and overrides MQTT server address to connect
52
52
-s, --server MQTT broker server to connect, has precedence over SUA_SERVER environment variable
53
53
(default is 'tcp://mosquitto:1883')
54
54
-c, --ca path to certificate to verify connection with bundle server
55
- (default is '/etc/ssl/certs/selfupdateagent .crt')
55
+ (default is '/etc/ssl/certs/ca-certificates .crt')
56
56
-v, --version display version (Git hash and build number) used to build SUA and exit
57
57
)" ;
58
58
@@ -61,7 +61,7 @@ int main(int argc, char* argv[])
61
61
std::string server{" tcp://mosquitto:1883" };
62
62
std::string installer{" download" };
63
63
std::string hostPathToSelfupdateDir{" /data/selfupdates" };
64
- std::string pathToCertificate{" /etc/ssl/certs/selfupdateagent .crt" };
64
+ std::string pathToCertificate{" /etc/ssl/certs/ca-certificates .crt" };
65
65
66
66
const char * env_server = std::getenv (" SUA_SERVER" );
67
67
if (env_server) {
You can’t perform that action at this time.
0 commit comments