Skip to content

Commit c6d5f4b

Browse files
committed
Trust self-signed certificate
1 parent c5be18f commit c6d5f4b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

salt/obs.sls

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,17 @@ start_obsservice:
116116
- group: root
117117
- mode: 644
118118

119+
trust_self_cert:
120+
cmd.run:
121+
- name: c_rehash /etc/ssl/certs/
122+
123+
restart_obssrcserver:
124+
service.running:
125+
- name: obssrcserver
126+
- enable: True
127+
- watch:
128+
- trust_self_cert
129+
119130
set_obs_instance_configurations:
120131
cmd.run:
121132
- name: osc -A https://localhost:443 api /configuration -T /tmp/obs_instance_configuration.xml

0 commit comments

Comments
 (0)