Certbot for wildcard domain
$ certbot certonly --manual -d *.foo.bar -d foo.bar --server https://acme-v02.api.letsencrypt.org/directory --preferred-challenges dns
Then following the instruction add add TXT record on your domain DNS
$ certbot certonly --manual -d *.foo.bar -d foo.bar --server https://acme-v02.api.letsencrypt.org/directory --preferred-challenges dns
Then following the instruction add add TXT record on your domain DNS
备忘
报个这个错 ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'gcc' failed with exit status 1
libssl.dylib 和 libcrypto.dylib 的版本问题
奇技淫巧
用brew安装的openssl的两个库来替代系统库
brew install openssl
env LDFLAGS="-I/......
备忘
要看一个query出来的大量信息怎么办
先要有一个js文件,来避免双引号之间的冲突,比如
var cursor = db.collection.find();
while(cursor.hasNext()) {
printjson(cursor.next());
}
然后
mongo 127.0.0.1/db script.js >> output.txt