mkdir -p when creating dir for cert