Update key paths to reflect internal CA
This commit is contained in:
parent
65fc0590b4
commit
b44fb5ce43
1 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
listener 8883
|
listener 8883
|
||||||
cafile /etc/mosquitto/ca_certificates/ca.crt
|
cafile /etc/mosquitto/ca_certificates/chain.pem
|
||||||
certfile /etc/mosquitto/certs/<%= @networking['fqdn'] %>.crt
|
certfile /etc/mosquitto/certs/cert.pem
|
||||||
keyfile /etc/mosquitto/certs/<%= @networking['fqdn'] %>.key
|
keyfile /etc/mosquitto/certs/privkey.pem
|
||||||
require_certificate true
|
require_certificate true
|
||||||
use_identity_as_username true
|
use_identity_as_username true
|
||||||
acl_file /etc/mosquitto/aclfile
|
acl_file /etc/mosquitto/aclfile
|
||||||
|
@ -12,8 +12,8 @@ log_type all
|
||||||
connection <%= @dc %>-to-<%= remote_dc %>
|
connection <%= @dc %>-to-<%= remote_dc %>
|
||||||
address <%= bridge_config['address'] %>:address <%= bridge_config['port'] %>:
|
address <%= bridge_config['address'] %>:address <%= bridge_config['port'] %>:
|
||||||
topic cdn/<%= @dc %>/purge out 1
|
topic cdn/<%= @dc %>/purge out 1
|
||||||
bridge_cafile /etc/mosquitto/ca_certificates/ca.crt
|
bridge_cafile /usr/local/share/ca-certificates/step_ca_root.crt
|
||||||
bridge_certfile /etc/mosquitto/certs/<%= @networking['fqdn'] %>.crt
|
bridge_certfile /etc/mosquitto/certs/cert.pem
|
||||||
bridge_keyfile /etc/mosquitto/certs/<%= @networking['fqdn'] %>.key
|
bridge_keyfile /etc/mosquitto/certs/privkey.pem
|
||||||
|
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
Loading…
Add table
Reference in a new issue