()
| 560 | |
| 561 | @staticmethod |
| 562 | def default_ssl_options() -> Dict[str, Any]: |
| 563 | # Testing keys were generated with: |
| 564 | # openssl req -new -keyout tornado/test/test.key \ |
| 565 | # -out tornado/test/test.crt -nodes -days 3650 -x509 |
| 566 | module_dir = os.path.dirname(__file__) |
| 567 | return dict( |
| 568 | certfile=os.path.join(module_dir, "test", "test.crt"), |
| 569 | keyfile=os.path.join(module_dir, "test", "test.key"), |
| 570 | ) |
| 571 | |
| 572 | def get_protocol(self) -> str: |
| 573 | return "https" |
no test coverage detected