hailin0 opened a new issue, #8583:
URL: https://github.com/apache/seatunnel/issues/8583

   ### Search before asking
   
   - [x] I had searched in the 
[feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Description
   
   Currently we support using jetty to provide http api services, but not yet 
support https protocol, so we can add support for https to enhance security.
   
   
   
   ### Updates
   - Add config enable https
   - Update docs
       - 
https://github.com/apache/seatunnel/blob/dev/docs/en/seatunnel-engine/rest-api-v2.md
       - 
https://github.com/apache/seatunnel/blob/dev/docs/zh/seatunnel-engine/rest-api-v2.md
 
   - Add [e2e 
testcase](https://github.com/apache/seatunnel/blob/dev/seatunnel-e2e/seatunnel-engine-e2e/connector-seatunnel-e2e-base/src/test/java/org/apache/seatunnel/engine/e2e/RestApiIT.java)
   - Adapt [web ui
   
](https://github.com/apache/seatunnel/blob/dev/docs/en/seatunnel-engine/web-ui.md)
   
   
   
   - config example
   ```
   
   seatunnel:
     engine:
       http:
          ......
         enable-https: true
         keystore: /path/to/file.keystore
         keystore-password: keystore_password
         key-password: key_password
   
         // optional
         truststore: /path/to/file.truststore
         truststore-password: truststore_password
         ......
   
   ```
   
   
   
   reference
   
https://jetty.org/docs/jetty/10/programming-guide/server/http.html#connector-protocol-http11-tls
   
https://jetty.org/docs/jetty/10/operations-guide/keystore/index.html#client-authn
   
   ### Usage Scenario
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@seatunnel.apache.org.apache.org

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

Reply via email to