设备打开WEB功能时报需要先配置SSl服务器策略 不懂该怎么配置 我只想简简单单登录web用于管理 没有CA服务器 也不想做认证,应该怎么配置才行?
(0)
ip http enable就行了
参考:
1) Apply for a certificate for Switch
# Configure a Public Key Infrastructure (PKI) entity.
<Sysname> system-view
[Sysname] pki entity en
[Sysname-pki-entity-en] common-name http-server1
[Sysname-pki-entity-en] fqdn ssl.security.com
[Sysname-pki-entity-en] quit
# Configure a PKI domain.
[Sysname] pki domain 1
[Sysname-pki-domain-1] ca identifier ca1
[Sysname-pki-domain-1] certificate request url http://10.1.2.2/certsrv/mscep/mscep.dll
[Sysname-pki-domain-1] certificate request from ra
[Sysname-pki-domain-1] certificate request entity en
[Sysname-pki-domain-1] quit
# Generate a key pair locally by using the RSA algorithm.
[Sysname] public-key local create rsa
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Press CTRL+C to abort.
Input the bits of the modulus[default = 1024]:
Generating Keys...
.......++++++
.............++++++
............++++++++
....++++++++
.....
# Obtain a server certificate from CA.
[Sysname] pki retrieval-certificate ca domain 1
# Apply for a local certificate.
[Sysname] pki request-certificate domain 1
2) Configure an SSL server policy associated with the HTTPS service
# Configure an SSL server policy myssl.
[Sysname] ssl server-policy myssl
# Configure the PKI domain used on the SSL server policy as 1.
[Sysname-ssl-server-policy-myssl] pki-domain 1
# Enable client authentication on the server.
[Sysname-ssl-server-policy-myssl] client-verify enable
[Sysname-ssl-server-policy-myssl] quit
3) # Associate the HTTPS service with the SSL server policy and enable the HTTPS service.
# Configure the SSL policy used in HTTPS service as myssl.
[Sysname] ip https ssl-server-policy myssl
# Enable the HTTPS service.
[Sysname] ip https enable
4) Verify the configuration
Launch the IE explorer on Host, and enter https://10.1.1.1. You can log in to Switch and control it.
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明