Stirling-Tools/Stirling-PDF

[Bug]: Custom SSL Certificate not working reliably anymore

Closed this issue · 2 comments

Installation Method

Docker

The Problem

Hello,

when we rolled out Stirling-PDF in our Infrastructure it was possible to append the following in the settings.yml to get Stirling to load a self-signed Cert from our CA.

local:
server:
port: 443
server:
port: 443
ssl:
key-store: /path/to/cert.p12
key-store-password: ************
(Indentation got F'd by github)
Now the Commands still work, but the settings.yml keeps on deleting those lines over and over and over again.
Could you please make it that the settings file wont get overwritten every single time, so we can roll out stirling again?
Or make it easier/user-friendlier to use ssl-certs.

Thank you in advance.

Version of Stirling-PDF

0.28.3

Last Working Version of Stirling-PDF

No response

Page Where the Problem Occurred

No response

Docker Configuration

version: '3.3'
services:
  stirling-pdf:
    image: frooodle/s-pdf:latest
    ports:
      - '443:443'
      - '8080:8080'
    volumes:
      - /etc/stirling/trainingData:/usr/share/tesseract-ocr/4.00/tessdata #Required for extra OCR languages
      - /etc/stirling/of/extraConfigs:/configs
      - /etc/stirling/certs:/certs
#      - /location/of/customFiles:/customFiles/
    environment:
      - DOCKER_ENABLE_SECURITY=false
      - INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false

Relevant Log Output

No response

Additional Information

No response

Browsers Affected

No response

No Duplicate of the Issue

  • I have verified that there are no existing issues raised related to my problem.

Please use the custom settings file also within the config folder
That is intended for those settings

Oof. Now I feel stupid to overlook that file :)
Thanks very much, it seems to work now. <3
Have a great weekend.