How to ssl on vmware workstation

I want use caddy server at my home.
I installed on virtual machine ubuntu

what i need for ssl my vm…

free server name ( with freedns ) for externe on hostname on noip
or or ,… or

ty

Please fill out the help topic template as per the forum rules.