Hey team. 

I would like to be able to access NiFi's RESTful api while it is in secure mode.
What am I required to do to make this happen?
Is there additional headers I need to set?
Do I need to have my own truststore/keystore that is shared with NiFi?

I am currently using a groovy implementation that works if NiFi is talking over http, but not in https. 

Any advice would be greatly appreciated.