0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CRL証明書が発行できない

0
Last updated at Posted at 2019-10-28

1.Error内容

秘密鍵、証明書作成はスムーズに進み、CRLを作るぞっと思ったら以下のErrorで作成出来ない。

[daikon@CentOS7 ~]$openssl ca -gencrl -out CA.crl

/etc/pki/CA/crlnumber: No such file or directory
error while loading CRL number
140699256829584:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/home/holly/CA/crlnumber','r')
140699256829584:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:

2.解決方法

内容を見てみると、どうも「/etc/pki/CA/crlnumber」が存在せずErrorが出ているみたい。

ということで、以下のコマンドでcrlnumberファイルを作成して解決。

echo '00' > /etc/pki/CA/crlnumber
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?