忍者ブログ
ネットワークセキュリティやってます。技術よりも趣味と雑談が多めのブログです。最近はオンライン英会話にはまっています。

2024-04

カレンダー
03 2024/04 05
S M T W T F S
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
アーカイブ
カウンター
ブログ内検索
×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

Win2003 CAがよく分からなかったので、今までのCAを使った問題は全部実機抜きでやってきたが、さすがにそろそろ設定できないといかんので今日なんとかできるようになった。まったくの初心者なのであれこれで5時間かかりました。

自分用メモとしてCAへenrollできるまでの手順を残す

1.Trustpointを作成
R1(config)#crypto ca trustpoint IE1
R1(ca-trustpoint)#enrollment url http://10.0.0.100/certsrv/mscep/mscep.dll

2.CA認証
R1(config)#crypto ca authenticate IE1
Certificate has the following attributes:
           Fingerprint: 50B975B9 223D3069 37D90027 3FA393A7

% Do you accept this certificate? [yes/no]: yes
Trustpoint CA certificate accepted.

3.CAの確認
R1#show crypto ca trustpoints 1 IE1
Trustpoint IE1:
    Subject Name:
    cn=cisco
          Serial Number: 0E8D8F1A55240E8C4C8C43AE3022FA98
    Certificate configured.
    CEP URL: http://10.0.0.100

cacert.JPG
CA自身の証明書のシリアル番号とコマンドライン上のSerial Numberが一致することを確認。

cn.JPG
CN=ciscoも正しいことを確認。

4.CAへenrollするためのpasswordの入手
scep.JPG

5.CAへenroll
R1(config)#crypto ca enroll IE1
%
% Start certificate enrollment ..
% Create a challenge password. You will need to verbally provide this
   password to the CA Administrator in order to revoke your certificate.
   For security reasons your password will not be saved in the configuration.
   Please make a note of it.

Password: 手順4のパスワード
Re-enter password: 手順4のパスワード

% The fully-qualified domain name in the certificate will be: R1.ccie.com
% The subject name in the certificate will include: R1.ccie.com
% Include the router serial number in the subject name? [yes/no]: yes
% The serial number in the certificate will be: 2BC8BAF6
% Include an IP address in the subject name? [no]:
Request certificate from CA? [yes/no]: yes
% Certificate request sent to Certificate Authority
% The 'show crypto ca certificate IE1 verbose' commandwill show the fingerprint.

CRYPTO_PKI:    Fingerprint:  1B890E9D 7488A7F9 28BEF64D 5C3F92E9
Aug 17 07:24:46.179:
R1(config)#
Aug 17 07:27:09.872: %CRYPTO-6-CERTRET: Certificate received from Certificate Authority

6.証明書の発行
この時点でCAの保留中の要求フォルダにR1の証明書があり、これを発行して初めて証明書が有効になる
hako.JPG

7.最後の確認
R1#show crypto ca certificates
Certificate(自身のもの)
  Status: Available
  Certificate Serial Number: 61F431EA000000000008
  Certificate Usage: General Purpose
  Issuer:
    cn=cisco
  Subject:
    Name: R1.ccie.com
    Serial Number: 2BC8BAF6
    hostname=R1.ccie.com
    serialNumber=2BC8BAF6
  CRL Distribution Point:
    http://pz0000/CertEnroll/cisco.crl
  Validity Date:
    start date: 16:16:22 JST Aug 17 2008
    end   date: 16:26:22 JST Aug 17 2009
  Associated Trustpoints: IE1

CA Certificate(CAのもの)
  Status: Available
  Certificate Serial Number: 0E8D8F1A55240E8C4C8C43AE3022FA98
  Certificate Usage: Signature
  Issuer:
 --More--             cn=cisco
  Subject:
    cn=cisco
  CRL Distribution Point:
    http://pz0000/CertEnroll/cisco.crl
  Validity Date:
    start date: 00:06:51 JST Jun 17 2008
    end   date: 00:15:03 JST Jun 17 2013
  Associated Trustpoints: IE1

last.JPG

Certificate Serial Numberがコマンドライン上のとCAのと同じことを確認

これでCAからR1に対して証明書が発行できた。。。

PR
この記事にコメントする
お名前:
タイトル:
文字色:
メールアドレス:
URL:
コメント:
パスワード:   Vodafone絵文字 i-mode絵文字 Ezweb絵文字
この記事へのトラックバック
この記事にトラックバックする:
著書




プロフィール
HN:
ぜん吉
性別:
男性
職業:
割と自由なリーマン
趣味:
海外出張
自己紹介:
2006年のCCNA合格を皮切りにCCIE-RSを含めて数々のシスコ資格をパスし、2009年に念願の海外受験(ドバイ)でCCIE-SCを取得。そして、2010年に目標だったトリプルCCIEを香港の地にて達成した。今はネットワークセキュリティやデータ分析などをやっています。

■2006年の目標
CCNA(達成)

■2007年の目標
CCNP(達成)
CCDA(達成)
CCDP(達成)
CCIP(達成)

■2008年の目標
CCSP(達成)
CCIE-RS(達成)
TOEIC700点(達成)

■2009年の目標
CCIE-Sec(達成)
TOEIC800点(達成)
JNCIA-JUNOS(達成)

■2010年の目標
JNCIA-M(達成)
CCIE-SP(達成)
JNCIS-M(達成)
JNCIA-EX(達成)
JNCIS-SEC(達成)

■2011年の目標
異動(未達成)

■2012年の目標
異動(未達成)
TOEIC850点(達成)

■2013年の目標
異動(達成)
CCIE更新(達成)

■2015年の目標
本を出す(達成)

■2017年の目標
TOEIC900(達成)
TOEIC950(達成)

■2018年の目標
英検1級(達成)

■2019年の目標
海外勤務








英会話







忍者ブログ [PR]
by 桜花素材サイト様. . . .