Parameterize node certs and removes reliance on directories not yet crea...

...ted.