Run the script extra/mkcert to create a self-signed certificate. It can be found inside the source package.
If you want one from an official Certificate Authority, please follow their instructions.
You can also create your own CA. To do so, read
these instructions [www.leisink.net]. Yes, it's in Dutch. But
Google Translate [translate.google.com] will be your friend.