@@ -256,7 +256,7 @@ func Test_Listen_TLS_PEM(t *testing.T) {
256256 t .Parallel ()
257257
258258 creds := readTLSPEM (t , "./.github/testdata/ssl.pem" , "./.github/testdata/ssl.key" )
259- clientPEM , err := os .ReadFile (filepath .Clean ("./.github/testdata/ca-chain.cert .pem" ))
259+ clientPEM , err := os .ReadFile (filepath .Clean ("./.github/testdata/client .pem" ))
260260 require .NoError (t , err )
261261
262262 t .Run ("ServerCertOnly" , func (t * testing.T ) {
@@ -298,7 +298,7 @@ func Test_Listen_TLS_PEM_Validation(t *testing.T) {
298298 t .Parallel ()
299299
300300 creds := readTLSPEM (t , "./.github/testdata/ssl.pem" , "./.github/testdata/ssl.key" )
301- clientPEM , err := os .ReadFile (filepath .Clean ("./.github/testdata/ca-chain.cert .pem" ))
301+ clientPEM , err := os .ReadFile (filepath .Clean ("./.github/testdata/client .pem" ))
302302 require .NoError (t , err )
303303
304304 t .Run ("MissingKey" , func (t * testing.T ) {
@@ -441,7 +441,7 @@ func Test_Listen_TLS_PEM_Validation(t *testing.T) {
441441 CertPEM : creds .cert ,
442442 CertKeyPEM : creds .key ,
443443 CertClientPEM : badClientPEM ,
444- CertClientFile : "./.github/testdata/ca-chain.cert .pem" ,
444+ CertClientFile : "./.github/testdata/client .pem" ,
445445 })
446446 require .Error (t , err )
447447 require .ErrorContains (t , err , "tls: CertClientPEM does not match certClientFile" )
@@ -529,7 +529,7 @@ func Test_Listen_MutualTLS(t *testing.T) {
529529 require .Error (t , app .Listen (":99999" , ListenConfig {
530530 CertFile : "./.github/testdata/ssl.pem" ,
531531 CertKeyFile : "./.github/testdata/ssl.key" ,
532- CertClientFile : "./.github/testdata/ca-chain.cert .pem" ,
532+ CertClientFile : "./.github/testdata/client .pem" ,
533533 }))
534534
535535 go func () {
@@ -540,7 +540,7 @@ func Test_Listen_MutualTLS(t *testing.T) {
540540 require .NoError (t , app .Listen (":0" , ListenConfig {
541541 CertFile : "./.github/testdata/ssl.pem" ,
542542 CertKeyFile : "./.github/testdata/ssl.key" ,
543- CertClientFile : "./.github/testdata/ca-chain.cert .pem" ,
543+ CertClientFile : "./.github/testdata/client .pem" ,
544544 }))
545545}
546546
@@ -556,7 +556,7 @@ func Test_Listen_MutualTLS_Prefork(t *testing.T) {
556556 EnablePrefork : true ,
557557 CertFile : "./.github/testdata/ssl.pem" ,
558558 CertKeyFile : "./.github/testdata/template.html" ,
559- CertClientFile : "./.github/testdata/ca-chain.cert .pem" ,
559+ CertClientFile : "./.github/testdata/client .pem" ,
560560 }))
561561
562562 go func () {
@@ -569,7 +569,7 @@ func Test_Listen_MutualTLS_Prefork(t *testing.T) {
569569 EnablePrefork : true ,
570570 CertFile : "./.github/testdata/ssl.pem" ,
571571 CertKeyFile : "./.github/testdata/ssl.key" ,
572- CertClientFile : "./.github/testdata/ca-chain.cert .pem" ,
572+ CertClientFile : "./.github/testdata/client .pem" ,
573573 }))
574574}
575575
0 commit comments