If you want to generate certificates manually follow up to the Create Certificate with OpenSSL
in the next section.
This is more recommended way of doing since you don't have to do the manual labour and
free from the risk of human error.
The solution is using auto-generate tool called mkcert
.
It is written in go and work perfectly fine on almost every OS with super easy commands.