7 22 * * * /usr/local/sbin/acme.sh --cron --home /path/to/acme/.acme.sh > /dev/null
$ acme.sh --force --home /path/to/acme/.acme.sh --issue \
-d seditious.games \
-w /path/to/webroot
$ acme.sh --home /path/to/acme/.acme.sh \
--install-cert -d seditious.games \
--key-file /path/to/ssl/key/seditious.games.pem \
--fullchain-file /path/to/ssl/fullchain/seditious.games.pem \
--reloadcmd "service nginx restart"
# Letsencrypt needs http for acme challenges
location ^~ /.well-known/acme-challenge/ {
proxy_redirect off;
default_type "text/plain";
alias /path/to/webroot/for/all/domains/.well-known/acme-challenge/;
allow all;
}
server {
server_tokens off;
listen 80;
listen [::]:80;
server_name seditious.games;
location / {
return 301 https://$server_name$request_uri; # enforce https
}
# Error Pages
include /path/to/nginx/conf/error;
# Anti-DDoS
include /path/to/nginx/conf/anti-ddos;
# letsencrypt acme challenges
include /path/to/nginx/conf/letsencrypt-acme-challenge;
}
server {
server_tokens off;
listen 80;
listen [::]:80;
server_name *.seditious.games;
location / {
return 301 https://$host$request_uri; # enforce https
}
# Error Pages
include /path/to/nginx/conf/error;
# Anti-DDoS
include /path/to/nginx/conf/anti-ddos;
# letsencrypt acme challenges
include /path/to/nginx/conf/letsencrypt-acme-challenge;
}
===>>> The security/acme-client port has been deleted: Removed
===>>> Aborting update
pkg lock acme-client
but note that as the port is no longer in the ports tree, any discovered vulnerabilities will not be reported. This should be considered a temporary solution.You can get past this with pkg lock acme-client
cc -O2 -pipe -g -W -Wall -c acctproc.c -o acctproc.o
cc -O2 -pipe -g -W -Wall -c base64.c -o base64.o
cc -O2 -pipe -g -W -Wall -c certproc.c -o certproc.o
cc -O2 -pipe -g -W -Wall -c chngproc.c -o chngproc.o
cc -O2 -pipe -g -W -Wall -c dbg.c -o dbg.o
In file included from dbg.c:25:
./extern.h:217:24: error: expected identifier
int checkexit(pid_t, enum comp);
^
./extern.h:218:28: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
int checkexit_ext(int *, pid_t, enum comp);
^
1 warning and 1 error generated.
*** Error code 1
Stop.