Fix #9: mkdir -p when creating dir for cert