How to setup https for local apps?

I use clouldflare inside my home network and outside to get https