Fix identifier concatenation to provide string.

This commit is contained in:
Jacob Hoffman-Andrews 2015-03-25 16:01:34 -07:00
parent f9d35282ce
commit 57f72e6671
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ func (va ValidationAuthorityImpl) validateDvsni(identifier core.AcmeIdentifier,
zName := hex.EncodeToString(z)
// Make a connection with SNI = nonceName
hostPort := identifier + ":443"
hostPort := identifier.Value + ":443"
conn, err := tls.Dial("tcp", hostPort, &tls.Config{
ServerName: nonceName,
InsecureSkipVerify: true,