Code: Select all
conf t
hostname cisco
ip domain-name zemerdon.com
end
write memoryCode: Select all
conf t
crypto key generate rsa modulus 2048 label cisco-https-key
enddont forget to change cisco.zemerdon.com to whatever your FQDN will be.
Code: Select all
conf t
crypto pki trustpoint CISCO-HTTPS
enrollment selfsigned
subject-name CN=cisco.zemerdon.com
revocation-check none
rsakeypair cisco-https-key
endCode: Select all
crypto pki enroll CISCO-HTTPS- Answer yes to accept self-signed cert
- Confirm generation
Code: Select all
conf t
ip http secure-trustpoint CISCO-HTTPS
ip http secure-server
end
write memoryCode: Select all
show crypto pki certificates CISCO-HTTPS
show ip http server secure status