Signing with CA - can't find signer CA: no such CN
Hi,
I am trying to use intermediate CA and sign servers with them. As far as I understand I have to use the CN field (first column when listing) to define which CA I want to use. It does not work, it never finds the CN: can't find signer CA: no such CN. Am I doing something wrong ?
Regards Xavi
Try this script: `! /usr/bin/env bash
set -e eval $(go env)
bindir=./bin/${GOOS}-${GOARCH} bin=$bindir/certik
db=test.db
set -x test -f $db && rm -f $db $bin $db init my-ca $bin $db inter server-ca $bin $db inter client-ca $bin $db server -s server-ca a.b.com $bin $db user -s client-ca [email protected] $bin $db user -s client-ca [email protected] $bin $db user -s client-ca [email protected]
$bin $db list
$bin $db export -o s a.b.com $bin $db export -o c [email protected] `
If this doesn't work, let me know.