SSL Certificate for on permise server

Hello, I have thinger on permise server running in docker container on aws. it has self signed ssl certificate right now. but it shows “not secure” warning in web browsers. how can I install ssl from lets encrypt on it? I could not able to find any way to do so.