Cert generation
This commit is contained in:
parent
f184f9c838
commit
deb7c9bd68
@ -83,13 +83,13 @@
|
|||||||
;; ## Certificates
|
;; ## Certificates
|
||||||
(defn generate-certs! [{:keys [company-name company-suffix] :as datamap}]
|
(defn generate-certs! [{:keys [company-name company-suffix] :as datamap}]
|
||||||
(info
|
(info
|
||||||
(sh/sh (map #(cljstache/render % datamap)
|
(apply sh/sh (map #(cljstache/render % datamap)
|
||||||
["certbot" "certonly" "--nginx"
|
["certbot" "certonly" "--nginx"
|
||||||
"-d" "staging.{{company-name}}.talent.careers"
|
"-d" "staging.{{company-name}}.talent.careers"
|
||||||
"-d" "{{company-name}}.talent.careers"
|
"-d" "{{company-name}}.talent.careers"
|
||||||
"-d" "talent.{{company-name}}.{{company-suffix}}"
|
"-d" "talent.{{company-name}}.{{company-suffix}}"
|
||||||
"-d" "www.talent.{{company-name}}.{{company-suffix}}"
|
"-d" "www.talent.{{company-name}}.{{company-suffix}}"
|
||||||
"--cert-name" "{{company-name}}"]))))
|
"--cert-name" "{{company-name}}"]))))
|
||||||
|
|
||||||
;; # DNS configuration
|
;; # DNS configuration
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user