I am trying to enable https and disable http to make dell more secure. I am trying to generate self-sign certificate with these commands and having this error.

(config)#crypto certificate 1 generate


Certificate generation failed. Please check logs for more details..

#show logging

SSLT[emWeb]: sslt_api.c(1201) 607965 %% SSLT: ssltCertificateGenerate keyFile not exist

1 Answer 1


The log message points in the right direction - you first need to generate key pairs on the switch:

console(config)#crypto key generate dsa
console(config)#crypto key generate rsa
console(config)#ip ssh server
console(config)#crypto certificate 1 generate
console(config)#ip http secure-server


  • Console help says key generate - Regenerate SSL RSA key. I did not try as it does not look rational. I already ran crypto key generate rsa command
    – hakkican
    Commented Jun 8, 2023 at 10:03
  • console(config-crypto-cert)#key-generate console(config-crypto-cert)#organization-name BIGORG should be run otherwise it gives an error.
    – hakkican
    Commented Jun 8, 2023 at 10:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.