If you need to implement quickly simple HTTPs server and generate self-signed root certificate and server certificated, then use below links: