cfssl命令学习-生成证书

准备cfssl环境 1 2 3 4 wget https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 -O /usr/local/bin/cfssl wget https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 -O /usr/local/bin/cfssljson wget https://pkg.cfssl.org/R1.2/cfssl-certinfo_linux-amd64 -O /usr/local/bin/cfssl-certinfo chmod +x /usr/local/bin/cfssl* 生成ca证书 证书配置 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 cat > ca-config.json <<EOF { "signing": { "default": { "expiry": "8760h" },

Git基础操作-远程仓库

查看当前的远程仓库 命令: -v 选项显示对应的克隆地址 1 git remote 例子: 1 2 git remote git remote -v 添加到远程仓库 命令: 1 git remote add [shortname] [url] 1 例子: 1 git remote add pb git://github.com/binbean/ticgit.git 推送数据到远程