Certbot and Namecheap

I was trying to get a SSL cert on my Pi server, did some digging on the net and found that I need something called Certbot to get the SSL cert for my domain. Tried the default way and it keeps complaining my domain doesnt have a valid A record. Did a quick search and found that its something related to Namecheap API and Certbot, I need a manual validation to get the SSL cert generated. After a few try and now its done! :)