Add a certificate template, followed by a SCEP definition, as
follows.
/certificate
[admin@router] /certificate> add common-name=test-cn name=test-name
[admin@router] /certificate> add-scep template=test-name
scep-url=http://interop.redwax.eu/test/simple/scep
]]>
Confirm that the certificate was requested and issued correctly.
print detail
Flags: K - private-key, L - crl, C - smart-card-key, A - authority,
I - issued, R - revoked, E - expired, T - trusted
0 K T name="test-name"
issuer=CN=Redwax Interop Testing Root Certificate Authority 2040,O=Redwax
Project
digest-algorithm=sha256 key-type=rsa common-name="test-cn" key-size=2048
subject-alt-name="" days-valid=2 trusted=yes
key-usage=digital-signature,content-commitment,key-encipherment,tls-client
scep-url="http://interop.redwax.eu/test/simple/scep"
serial-number="80B89D2D99C09CB2"
fingerprint="f83f497a11ccaf4e43e7df5838c9687c0b3bf0c0f46959403d4e8e0e8ac54fb5
"
ca-fingerprint="593685a2b4223e2634a74bc86125808e12c0680283ad6c67b44a6e3305c62
30d"
invalid-before=feb/15/2020 00:32:05 invalid-after=feb/17/2020 00:32:05
expires-after=23h47m2s challenge-password="" status="idle"
1 T name="test-name_CA"
issuer=CN=Redwax Interop Testing Root Certificate Authority 2040,O=Redwax
Project
digest-algorithm=sha1 key-type=rsa organization="Redwax Project"
common-name="Redwax Interop Testing Root Certificate Authority 2040"
key-size=2048 subject-alt-name="" days-valid=6534 trusted=yes
serial-number="6F11B7D855D27D9A14F3B6E9152B60CA8C4BE2AA"
fingerprint="593685a2b4223e2634a74bc86125808e12c0680283ad6c67b44a6e3305c6230d
"
invalid-before=feb/11/2020 17:38:56 invalid-after=jan/01/2038 17:38:56
expires-after=932w5d16h53m53s
]]>