Splitting certs into dedicated files refs #47

Remains the TMP vs $TMP issue