Added pki_algo to conf files and fixed keysize opt