Log in admin using ssh (with your favourite ssh client) or (serial) console cable.
config crypto pki identity-profile Profile subject
Now enter some certificate parameters
You can enter all you like, e.g.
Enter Common Name(CN) : Switch Enter Org Unit(OU) : ICT Enter Org Name(O) : Customer Enter Locality(L) : Amsterdam Enter State(ST) : State Enter Country(C) : NL
then, type
crypto pki enroll-self-signed certificate-name certificate web-management ssl
save
Now ssl is enabled and you can reach your switch using https.
If you didn’t configure an ip-address yet, you see the current ip address using
show ip