Having difficulty setting up Let's Encrypt

Perhaps you can try the steps in the following discussion,

Installing SSL on v13 - ERPNext - Discuss Frappe/ERPNext