Мой файл Docker:
Код: Выделить всё
FROM rocker/shiny-verse:4.4.1
ARG WHEN
ENV NVM_DIR /root/.nvm
# Install apps
RUN apt-get update
RUN apt-get install -y sudo curl rclone cron rsyslog procps systemd \
libcurl4-openssl-dev libssl-dev \
libxml2-dev libfontconfig1-dev libharfbuzz-dev libfribidi-dev \
libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev
RUN curl https://rclone.org/install.sh | bash
# Install library for R
RUN R -e "options(repos = \
list(CRAN = 'https://packagemanager.posit.co/cran/${WHEN}/')); \
if (!require('pacman')) install.packages('pacman'); \
pacman::p_load(tidyverse, ggplot2, dplyr, httr2, glue, stats, readr, \
lubridate, jsonlite, qualtRics, here, rmarkdown, \
formattable, tidyr, shiny, DT, knitr, kableExtra, data.table, \
tinytex, flextable, officer, stringr, rlang, mailR, geometry, install = T, update = F); \
tinytex::install_tinytex();"
Код: Выделить всё
apiVersion: apps/v1
kind: Deployment
metadata:
name: test-rwmain
spec:
replicas: 1
selector:
matchLabels:
app: rwmain-app
template:
metadata:
labels:
app: rwmain-app
spec:
containers:
- name: rwmain
image: rwmain:latest
imagePullPolicy: Never
Результат: даже простой переход на example.net дает SSL ошибка:
Код: Выделить всё
# curl -vvv https://example.net
* Trying 192.168.1.1:443...
* Connected to example.net (192.168.1.1) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (OUT), TLS header, Unknown (21):
* TLSv1.3 (OUT), TLS alert, bad certificate (554):
* SSL certificate problem: EE certificate key too weak
* Closing connection 0
curl: (60) SSL certificate problem: EE certificate key too weak
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
Изначально я подумал, что это проблема с брандмауэром, поэтому отключил ufw и перезапустил все, но безрезультатно.
Поэтому мой вопрос: как я могу отладить это дальше? и почему одна и та же настройка работает нормально в Windows, но не работает в Linux Mint?
Информация о системе: Minikube v1.34.0, Linux Mint 22 (Cinnamon), Kubernetes v1.31.0, Docker 27.2.0
Подробнее здесь: https://stackoverflow.com/questions/792 ... on-windows
Мобильная версия