Ensure folder exists to create certificate