Skip to content

Commit

Permalink
Trust self-signed certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
athos-ribeiro committed Aug 13, 2018
1 parent c5be18f commit c6d5f4b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions salt/obs.sls
Expand Up @@ -116,6 +116,17 @@ start_obsservice:
- group: root - group: root
- mode: 644 - mode: 644


trust_self_cert:
cmd.run:
- name: c_rehash /etc/ssl/certs/

restart_obssrcserver:
service.running:
- name: obssrcserver
- enable: True
- watch:
- trust_self_cert

set_obs_instance_configurations: set_obs_instance_configurations:
cmd.run: cmd.run:
- name: osc -A https://localhost:443 api /configuration -T /tmp/obs_instance_configuration.xml - name: osc -A https://localhost:443 api /configuration -T /tmp/obs_instance_configuration.xml
Expand Down

0 comments on commit c6d5f4b

Please sign in to comment.