I make SSL settings for the domain. But getting error ssl certificate getting self-signed (example.com). And here is the fix
Step 1: Download and update acme
wget -O - https://get.acme.sh | sh
Step 2: Register email for account
acme.sh --register-account -m my-email
Step 3: install ssl by command