kubernetes - Kubernetes 上的 Rundeck 不能做 https
问题描述
看来我的rundeck不能做https。我正在负载均衡器上进行 ssl 卸载。以下是我的部署 yml 的片段
containers:
- name: rundeck
image:rundeck/rundeck:3.1.1
env:
- name: RUNDECK_GRAILS_URL
value: "https://rundeck.somehost.io"
- name: SERVER_SECURED_URL
value: "https://rundeck.somehost.io"
- name: RUNDECK_JVM_SETTINGS
value: "-Dserver.web.context=/rundeck -Drundeck.jetty.connector.forwarded=true"
我已经按照网络上的大多数提示进行操作,但登录后我的 rundeck 仍在寻找 http
解决方案
You need to enable the ssl settings, for example:
args: ["-Dserver.https.port=4443 -Drundeck.ssl.config=/home/rundeck/server/config/ssl.properties"]
But you will need to add a certificate (for example a self-certificate) to the container.
You can try:
1) extend the Rundeck official image (like this )
2) create a volume with the certificate and mount it on /home/rundeck/etc/truststore (also you might need to mount the /home/rundeck/server/config/ssl.properties with the right password ). BTW, I haven't tried that
推荐阅读
- java - KeyEvent.getKeyText 和 NativeKeyEvent.getKeyText 返回不同的值
- javascript - 如何使用带有把手的 chart.js 折线图?
- python - 如何在图像 python 中检测特定的彩色对象(红色)(没有 cv2)
- qt - 通过 QGraphicsScene 中的 addWidget 嵌入 QOpenGLWidget
- javascript - 如何使网站进入正确的链接
- javascript - 如何使用ajax将表中的所有数据插入数据库
- javascript - 从代码中删除 eval 函数的使用
- java - 如何以'dd-mm-yyyy'和'yyyy-yyyy'格式SWING在JComboBox中放置日期列表?
- pentaho - 尝试使用 Hypersonic 连接类型和本机 (JDBC) 访问连接到 Petaho 数据集成中的 SALES_DATA 时发生错误
- google-cloud-platform - PERMISSION_DENIED:调用者没有权限