day08、2 - PKI

本文深入介绍了公钥基础设施PKI的概念,包括其组成如公钥加密、数字证书、CA(证书颁发机构)和RA(注册机构)。PKI主要应用于HTTPS、IPSec VPN等领域,保障信息安全的机密性、完整性和身份验证。详细阐述了公钥加密技术(对称加密、非对称加密和HASH算法)、数字签名的生成与验证过程,以及CA如何颁发证书。此外,还讨论了防止中间人攻击的重要性和数字证书在验证公钥真实性中的关键作用。

一、PKI概述

1.PKI是什么

  • Public Key Infrastructure,公钥基础设施;通过加密技术数字签名保证信息的安全

2.PKI的组成

  • 公钥加密技术、数字证书、CA、RA
  • 这四个加在一起统称为PKI

3.PKI应用领域

  • HTTPS(本质上就是在 HTTP 的基础下加入SSL,HTTPS 的安全基础是 SSL

  • IPsecVPN

  • 部门远程访问VPN

    VPN技术后面会讲解

二、信息安全三要素

  • 机密性:通过加密除了通信双方其他人都看不懂

  • 完整性:不能被破坏,破坏了就不接收

  • 身份验证(操作的不可否认性)

    PKI通过加密技术与数字签名保证信息的机密性、完整性、身份验证

三、公钥加密技术

1.公钥加密技术作用

  • 实现对信息加密、数字签名等安全保障

2.加密算法

1.对称加密算法
  • 引入:

    x是原数据/原文,

[V200R007C10SPC300] # set memory-usage threshold 0 # ssl renegotiation-rate 1 # vlan batch 10 20 30 100 200 300 # stp enable # authentication-profile name default_authen_profile authentication-profile name dot1x_authen_profile authentication-profile name mac_authen_profile authentication-profile name portal_authen_profile authentication-profile name macportal_authen_profile # dhcp enable # diffserv domain default # radius-server template default # pki realm default rsa local-key-pair default enrollment self-signed # ike proposal default encryption-algorithm aes-256 dh group14 authentication-algorithm sha2-256 authentication-method pre-share integrity-algorithm hmac-sha2-256 prf hmac-sha2-256 # free-rule-template name default_free_rule # portal-access-profile name portal_access_profile # aaa authentication-scheme default authentication-scheme radius authentication-mode radius authorization-scheme default accounting-scheme default domain default authentication-scheme radius radius-server default domain default_admin authentication-scheme default local-user admin password irreversible-cipher $1a$2}a<$e&TMI$jRkU7:6dEY4B4[-NM5A=sdHJ)'*0)YN)OUYKx[4J$ local-user admin privilege level 15 local-user admin service-type http # interface Vlanif30 ip address 10.0.3.1 255.255.255.0 dhcp select interface dhcp server excluded-ip-address 10.0.3.250 10.0.3.254 dhcp server lease day 1 hour 8 minute 0 dhcp server dns-list 114.114.114.114 # interface Vlanif300 # interface MEth0/0/1 undo negotiation auto duplex half # interface GigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 2 to 4094 # interface GigabitEthernet0/0/2 port link-type trunk port trunk allow-pass vlan 2 to 4094 # interface GigabitEthernet0/0/3 # interface GigabitEthernet0/0/4 # interface GigabitEthernet0/0/5 # interface GigabitEthernet0/0/6 # interface GigabitEthernet0/0/7 # interface GigabitEthernet0/0/8 # interface GigabitEthernet0/0/9 # interface GigabitEthernet0/0/10 # interface GigabitEthernet0/0/11 # interface GigabitEthernet0/0/12 # interface GigabitEthernet0/0/13 # interface GigabitEthernet0/0/14 # interface GigabitEthernet0/0/15 # interface GigabitEthernet0/0/16 # interface GigabitEthernet0/0/17 # interface GigabitEthernet0/0/18 # interface GigabitEthernet0/0/19 # interface GigabitEthernet0/0/20 # interface GigabitEthernet0/0/21 undo negotiation auto duplex half # interface GigabitEthernet0/0/22 undo negotiation auto duplex half # interface GigabitEthernet0/0/23 undo negotiation auto duplex half # interface GigabitEthernet0/0/24 undo negotiation auto duplex half # interface XGigabitEthernet0/0/1 # interface XGigabitEthernet0/0/2 # interface NULL0 # snmp-agent local-engineid 800007DB03000000000000 snmp-agent # ssh server secure-algorithms cipher aes256_ctr aes128_ctr ssh server key-exchange dh_group14_sha1 ssh client secure-algorithms cipher aes256_ctr aes128_ctr ssh client secure-algorithms hmac sha2_256 ssh client key-exchange dh_group14_sha1 # capwap source interface vlanif30 # user-interface con 0 authentication-mode password user-interface vty 0 4 protocol inbound all user-interface vty 16 20 protocol inbound all # wlan traffic-profile name default security-profile name ap1 security wpa-wpa2 psk pass-phrase %^%#!r7[Pn*jtC1DDJ(<*WE":%T:Usz2ZMRQgN"L`]L)%^%# aes security-profile name default security-profile name default-wds security-profile name default-mesh ssid-profile name ap1 ssid XYW ssid-profile name default vap-profile name ap1 forward-mode tunnel service-vlan vlan-id 300 ssid-profile ap1 security-profile ap1 vap-profile name default wds-profile name default mesh-handover-profile name default mesh-profile name default regulatory-domain-profile name defalt regulatory-domain-profile name default air-scan-profile name default rrm-profile name default radio-2g-profile name default radio-5g-profile name default wids-spoof-profile name default wids-profile name default wireless-access-specification ap-system-profile name default port-link-profile name default wired-port-profile name default serial-profile name preset-enjoyor-toeap ap auth-mode no-auth ap-group name ap1 radio 0 vap-profile ap1 wlan 1 radio 1 vap-profile ap1 wlan 1 ap-group name default ap-id 0 type-id 35 ap-mac 00e0-fc53-73e0 ap-sn 2102354483100C778B2A ap-name ap1 ap-group ap1 ap-id 1 type-id 35 ap-mac 00e0-fcdb-4bd0 ap-sn 21023544831085424456 ap-name ap2 ap-group ap1 ap-id 2 type-id 69 ap-mac 00e0-fcd2-2b50 ap-sn 210235448310D75D835D ap-name SYL ap-group ap1 ap-id 3 type-id 69 ap-mac 00e0-fcb2-4b90 ap-sn 210235448310D81E4141 ap-name SUSL ap-group ap1 ap-id 4 type-id 69 ap-mac 00e0-fc18-6510 ap-sn 2102354483106372B76B ap-name SuShe-2 ap-group ap1 ap-id 5 type-id 69 ap-mac 00e0-fc32-34a0 ap-sn 2102354483107B567725 ap-name Sushe-3 ap-group ap1 ap-id 6 type-id 69 ap-mac 00e0-fc54-77c0 ap-sn 210235448310E274B004 ap-name JXL-2 ap-group ap1 ap-id 7 type-id 69 ap-mac 00e0-fcaa-1a20 ap-sn 210235448310D1184F1E ap-name JXL-3 ap-group ap1 ap-id 8 type-id 69 ap-mac 00e0-fc9f-0690 ap-sn 210235448310E249004D ap-name ShiTang-1 ap-group ap1 ap-id 9 type-id 69 ap-mac 00e0-fcfa-3e40 ap-sn 2102354483101439FF15 ap-name ShiTang-2 ap-group ap1 provision-ap # dot1x-access-profile name dot1x_access_profile # mac-access-profile name mac_access_profile # return 详细解释这些代码
最新发布
06-03
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值