Creating SSL instance

Does anyone know how to set up an https instance with certificate creation?