Added codename  var
Workraround for openssl validation func