现场型号为msr3600-28-xs,插卡型号为RT-SIC-CNDE-SJK,RT-SIC-4G-CNDE-SJK,路由器通过4G卡和专线与对端进行连接,且4G对接和专线对接都要通过国密进行加密,求4G国密加密和专线国密加密的配置
(0)
最佳答案
				
				
					国密证书配置:
acl advanced 3000
 rule 0 permit ip source 192.168.1.0 0.0.0.255 destination 192.168.2.1 0.0.0.255
#
interface LoopBack0
 ip address 192.168.1.1 255.255.255.255
#
pki domain 1
 public-key sm2 general name abc  
 undo crl check enable
#
ipsec transform-set 1
 esp encryption-algorithm sm4-cbc
 esp authentication-algorithm sm3 
#
ipsec policy 1 1 isakmp
 transform-set 1 
 security acl 3000 
 local-address 10.0.0.2
 remote-address 10.0.0.1
 ike-profile 1
#
ike profile 1
 certificate domain 1
 exchange-mode gm-main
 local-identity address 10.0.0.2
 match remote identity address 10.0.0.1 255.255.255.0
 proposal 1    
#
ike proposal 1
 authentication-method sm2-de
 encryption-algorithm sm4-cbc
 authentication-algorithm sm3
#
interface GigabitEthernet0/0
 port link-mode route
 ip address 10.0.0.2 255.255.0.0
 ipsec apply policy 1
#
 ip route-static 192.168.2.0 24 10.0.0.1
#
导入证书的操作如下:
[H3C]pki import domain 1 pem ca filename zzlr5-ca
[H3C]pki import domain 1 pem local filename zzlr5-local
(0)
	
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论