Merge "Use rootAlias to index chosen cert and its version." into pi-dev