Commits

Jajcus committed 2bb9c56

SRVName certificate alt name must be IA5, not UTF8

  • Participants
  • Parent commits 36af809

Comments (0)

Files changed (4)

File pyxmpp2/test/data/openssl-server.cnf

 [ v3_req ]
 basicConstraints = CA:FALSE
 keyUsage = nonRepudiation, digitalSignature, keyEncipherment
-subjectAltName=DNS:server.example.org,otherName:1.3.6.1.5.5.7.8.7;UTF8:_xmpp-server.server.example.org
+subjectAltName=DNS:server.example.org,otherName:1.3.6.1.5.5.7.8.7;IA5:_xmpp-server.server.example.org

File pyxmpp2/test/data/server-key.pem

 -----BEGIN PRIVATE KEY-----
-MIICeQIBADANBgkqhkiG9w0BAQEFAASCAmMwggJfAgEAAoGBANOm9oCPTpbk6Oxc
-4l3KQ+G7TpbadTieuQ8ZJWlzvwXaeBO+dA2cDO18ggECEQ4FFojPAwo3SrZbbJKX
-irovw7BY2ESo3hRVctBAYziN9eu6dUl6yVNLHI40TJlB71uoLCrEYr+aQyV9rIQS
-sqZm47Gddp61xGXIxVei1YPVW5sLAgMBAAECgYEAr/Tacb6yA1iDHB2MQ5ToIj3p
-9Bfh5BRwnVC2fZiwcllSAngPW1EknjsoiVYCf7lTJqGTUWbuQfR3qtc5idgzwmCb
-qkNC1z97AduIVEgaObbm8l69ALFPJ23Q7I0ES+hEVnbFvx30uXy9hxoBIbzrWYmJ
-P7ejh7vWDB0cwKIUzEECQQDwjtDMPdd34TawieJAOtrXRxDlEfEGCKAzdiLKMXN4
-08iI4um5QwWBD7rFgZbI82iakG+PoFFH98T/aY2Xy5cpAkEA4T0g8gvmUx4oXpQK
-6rWgNYQkv6srjFQcBsZwUBTYlTXYap2/WH8o3qPMJEZgDD0MmgNA3jfHmVccezKJ
-VO+rEwJBALhxOCSxcejHtFANmH0Y4zxWj9yjMgMnT/XFKY2P9vJ4p3RVT1Et0yWO
-suzGnJ89CkIgZnlgOZINpm0TOG5fumkCQQC10WmR2edAOzztM+YoFxtPd+9ORXdu
-3MqO8YriKiG3OPMNBW/bmTI9ns2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