for example we will acquire ssl certificate for ezioruan.com
install
1 | sudo apt update && sudo apt install certbot |
get ssl certificate by dns change
1 | sudo certbot -d ezioruan.com --manual --preferred-challenges dns certonly |
it will ask you to create a txt record in your dns provider
after add the record press enter and you will get two files fullchain.pem and privkey.pem

import to loadbalcer
parse fullchain.pem in SSL Certificate and privkey.pem to Private Key
and you’ll able to use in loadbalcer’s Certificates manager