create cert folder
checkPassword