Создать запрос на сертификат (в CN необходимо указать имя хоста будущей реплики, на запрос «Enter value for the key identifier fields», следует ввести вывод команды
echo $SKID):
# SKID="0x`openssl rand -hex 20`"
# echo $SKID
0xa30f48abf89afae77e481c712d234ff0e312d44e
# certutil -d ~/test_ca -R \
-s CN=replica.example.test,O=IPA \
-o /tmp/replicacert.req \
-k rsa -g 2048 \
-z ~/test_ca/noise.txt \
-f ~/test_ca/password.txt \
-a --extSKID -extSAN dns:replica.example.test
Generating key. This may take a few moments...
Adding Subject Key ID extension.
Enter value for the key identifier fields,enter to omit:
0xa30f48abf89afae77e481c712d234ff0e312d44e
Is this a critical extension [y/N]?
n