tangled
alpha
login
or
join now
benharri.org
/
dotfiles
0
fork
atom
my shell and tool configurations
0
fork
atom
overview
issues
pulls
pipelines
move wildcard-cert to a normal shell script
benharri.org
2 years ago
2fd01ead
70a8a697
+9
-11
2 changed files
expand all
collapse all
unified
split
bin
bin
wildcard-cert
fish
.config
fish
functions
wildcard-cert.fish
+9
bin/bin/wildcard-cert
···
1
1
+
#!/bin/sh
2
2
+
sudo certbot certonly \
3
3
+
--dns-rfc2136 \
4
4
+
--dns-rfc2136-credentials /root/.secrets/rfc2136.ini \
5
5
+
--server https://acme-v02.api.letsencrypt.org/directory \
6
6
+
--preferred-challenge dns-01 \
7
7
+
--cert-name $1 \
8
8
+
-d $1 \
9
9
+
-d \*.$1
-11
fish/.config/fish/functions/wildcard-cert.fish
···
1
1
-
function wildcard-cert
2
2
-
sudo certbot certonly \
3
3
-
--dns-rfc2136 \
4
4
-
--dns-rfc2136-credentials /root/.secrets/rfc2136.ini \
5
5
-
--server https://acme-v02.api.letsencrypt.org/directory \
6
6
-
--preferred-challenge dns-01 \
7
7
-
--cert-name $argv[1] \
8
8
-
-d $argv[1] \
9
9
-
-d \*.$argv[1]
10
10
-
end
11
11
-