Allows cub [sr,connect,kr,ksql-server,control-center]-ready scripts to connect to TLS enabled endpoints. Tested against cp-demo setup (modified to skip MDS authentication, since cub does not allow usernames and passwords yet):
./cub.py control-center-ready localhost 9022 5 --secure --ignore_cert && \
./cub.py kr-ready localhost 8086 5 --secure --ignore_cert && \
./cub.py sr-ready localhost 8085 5 --secure --ignore_cert && \
./cub.py connect-ready localhost 8083 5 --secure --ignore_cert && \
./cub.py ksql-server-ready localhost 8089 5 --secure --ignore_cert && \
echo "success"
/usr/lib/python3/dist-packages/urllib3/connectionpool.py:1006: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
/usr/lib/python3/dist-packages/urllib3/connectionpool.py:1006: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
/usr/lib/python3/dist-packages/urllib3/connectionpool.py:1006: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
/usr/lib/python3/dist-packages/urllib3/connectionpool.py:1006: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
/usr/lib/python3/dist-packages/urllib3/connectionpool.py:1006: InsecureRequestWarning: Unverified HTTPS request is being made to host 'localhost'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
success
Allows
cub [sr,connect,kr,ksql-server,control-center]-ready
scripts to connect to TLS enabled endpoints. Tested againstcp-demo
setup (modified to skip MDS authentication, sincecub
does not allow usernames and passwords yet):