certik icon indicating copy to clipboard operation
certik copied to clipboard

Signing with CA - can't find signer CA: no such CN

Open xpegenaute opened this issue 4 months ago • 1 comments

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

xpegenaute avatar Oct 06 '25 11:10 xpegenaute

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.

opencoff avatar Oct 07 '25 15:10 opencoff