Cert generation

This commit is contained in:
Daniel Ziltener 2019-12-10 10:53:26 +01:00
parent f184f9c838
commit deb7c9bd68
1 changed files with 7 additions and 7 deletions

View File

@ -83,13 +83,13 @@
;; ## Certificates
(defn generate-certs! [{:keys [company-name company-suffix] :as datamap}]
(info
(sh/sh (map #(cljstache/render % datamap)
["certbot" "certonly" "--nginx"
"-d" "staging.{{company-name}}.talent.careers"
"-d" "{{company-name}}.talent.careers"
"-d" "talent.{{company-name}}.{{company-suffix}}"
"-d" "www.talent.{{company-name}}.{{company-suffix}}"
"--cert-name" "{{company-name}}"]))))
(apply sh/sh (map #(cljstache/render % datamap)
["certbot" "certonly" "--nginx"
"-d" "staging.{{company-name}}.talent.careers"
"-d" "{{company-name}}.talent.careers"
"-d" "talent.{{company-name}}.{{company-suffix}}"
"-d" "www.talent.{{company-name}}.{{company-suffix}}"
"--cert-name" "{{company-name}}"]))))
;; # DNS configuration