ssltool

command module
v0.0.0-...-a86add6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: BSD-3-Clause Imports: 16 Imported by: 0

README

ssl tool

Install
go install github.com/yubo/gotool/ssltool@latest
Configure
cat > ./ssltool.yml <<'EOF'
CN: etcd
key:
  algo: "ecdsa"
  size: 256
names:
  - C: CN
    ST: BJ
    L: BJ
    O: k8s

ca:
  dir: ./ca

etcd:
  dir: ./etcd
  clientExpiry: "876000h"
  serverExpiry: "876000h"
  hosts:
    - 127.0.0.1
    - 1.1.1.1
    - 1.1.1.2
EOF
Generate CA
ssltool ca --conf ./ssltool.yml
Generate ETCD Certs
ssltool etcd --conf ./ssltool.yml

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL