You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/01/26 18:20:29 UTC

[GitHub] [trafficserver] brbzull0 opened a new pull request #7451: Unit Test - Increase openssl's key size. Place test certs into a com…

brbzull0 opened a new pull request #7451:
URL: https://github.com/apache/trafficserver/pull/7451


   Running autest in Fedora 33 with `OpenSSL 1.1.1i` seems to fail. Looking deeper it seems that the key zise policy increased in the newer openssl's.
   This Draft contains a few changes:
   1 - Regenerate basic certs (server.pem, server.key, signer.pem)
   2 - Place the new keys in a common folder(`tests/tools/ssl`) and make relevant unit tests use from this new location.
   3 - Update trafficserver.test.ext to export a new functions (`addDefaultSSLFiles` and  `addSSLFileFromDefaultTestFolder`) which can be used to add the files from the new common folder.
   4 - Update microserver's certs .
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] zwoop commented on pull request #7451: Unit Test - Increase openssl's key size. Place test certs into a comon test folder

Posted by GitBox <gi...@apache.org>.
zwoop commented on pull request #7451:
URL: https://github.com/apache/trafficserver/pull/7451#issuecomment-784379884


   Cherry-picked to v9.1.x branch.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] randall merged pull request #7451: Unit Test - Increase openssl's key size. Place test certs into a comon test folder

Posted by GitBox <gi...@apache.org>.
randall merged pull request #7451:
URL: https://github.com/apache/trafficserver/pull/7451


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] randall commented on pull request #7451: Unit Test - Increase openssl's key size. Place test certs into a com…

Posted by GitBox <gi...@apache.org>.
randall commented on pull request #7451:
URL: https://github.com/apache/trafficserver/pull/7451#issuecomment-769280039


   This is a great PR! Thanks for the work here!
   
   For future us, how does one regenerate the test certs?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] duke8253 commented on pull request #7451: Unit Test - Increase openssl's key size. Place test certs into a comon test folder

Posted by GitBox <gi...@apache.org>.
duke8253 commented on pull request #7451:
URL: https://github.com/apache/trafficserver/pull/7451#issuecomment-773623968


   Confirmed this is working for Ubuntu as well, started seeing `ssl.SSLError: [SSL: EE_KEY_TOO_SMALL] ee key too small (_ssl.c:4021)` a few days ago.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] duke8253 commented on pull request #7451: Unit Test - Increase openssl's key size. Place test certs into a comon test folder

Posted by GitBox <gi...@apache.org>.
duke8253 commented on pull request #7451:
URL: https://github.com/apache/trafficserver/pull/7451#issuecomment-773623968


   Confirmed this is working for Ubuntu as well, started seeing `ssl.SSLError: [SSL: EE_KEY_TOO_SMALL] ee key too small (_ssl.c:4021)` a few days ago.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] shinrich commented on pull request #7451: Unit Test - Increase openssl's key size. Place test certs into a com…

Posted by GitBox <gi...@apache.org>.
shinrich commented on pull request #7451:
URL: https://github.com/apache/trafficserver/pull/7451#issuecomment-769162727


   Good cleanup and update for newer default openssl configs.  Once this lands, I'll do a review of my additional certs in the TLS area.
   
   I think one of the comcast folks (@traeak ?) ran into this issue a few months ago.  A review from him would be good.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] duke8253 edited a comment on pull request #7451: Unit Test - Increase openssl's key size. Place test certs into a comon test folder

Posted by GitBox <gi...@apache.org>.
duke8253 edited a comment on pull request #7451:
URL: https://github.com/apache/trafficserver/pull/7451#issuecomment-773623968


   Confirmed this is working for Ubuntu as well, started seeing `ssl.SSLError: [SSL: EE_KEY_TOO_SMALL] ee key too small (_ssl.c:4021)` in some of the tls related autests a few days ago, with this PR the problem goes away.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] bneradt commented on a change in pull request #7451: Unit Test - Increase openssl's key size. Place test certs into a com…

Posted by GitBox <gi...@apache.org>.
bneradt commented on a change in pull request #7451:
URL: https://github.com/apache/trafficserver/pull/7451#discussion_r564809609



##########
File path: tests/gold_tests/timeout/tls_conn_timeout.test.py
##########
@@ -63,7 +63,7 @@
 # Request the port that should timeout in the handshake
 # Should retry once
 tr = Test.AddTestRun("tr-blocking-post")
-tr.Setup.Copy("../chunked_encoding/ssl/server.pem")
+tr.Setup.Copy("../../tools/ssl/server.pem")

Review comment:
       Instead of ../../tools, I believe we can use the `Test.Variables.AtsTestToolsDir`.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] brbzull0 commented on pull request #7451: Unit Test - Increase openssl's key size. Place test certs into a com…

Posted by GitBox <gi...@apache.org>.
brbzull0 commented on pull request #7451:
URL: https://github.com/apache/trafficserver/pull/7451#issuecomment-767779538


   [approve ci autest]


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] duke8253 edited a comment on pull request #7451: Unit Test - Increase openssl's key size. Place test certs into a comon test folder

Posted by GitBox <gi...@apache.org>.
duke8253 edited a comment on pull request #7451:
URL: https://github.com/apache/trafficserver/pull/7451#issuecomment-773623968


   Confirmed this is working for Ubuntu as well, started seeing `ssl.SSLError: [SSL: EE_KEY_TOO_SMALL] ee key too small (_ssl.c:4021)` in some of the tls related autests a few days ago, with this PR the problem goes away.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] brbzull0 commented on pull request #7451: Unit Test - Increase openssl's key size. Place test certs into a com…

Posted by GitBox <gi...@apache.org>.
brbzull0 commented on pull request #7451:
URL: https://github.com/apache/trafficserver/pull/7451#issuecomment-769300700


   > This is a great PR! Thanks for the work here!
   > 
   > For future us, how does one regenerate the test certs?
   
   Hi @randall 
   This [notes](https://github.com/yahoo/proxy-verifier/blob/ac9541ea7dec6a82ee7ea8b0e33249798a91b97e/test/keys/README) were given by @bneradt from Proxy Verifier.
   
   Thanks.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org