-
Not a java dev, but the line 103 here seems like it does not configure any store for trusted custom certs:
-
Found the exact place to put the certificate into in the current version:
keytool -import -trustcacerts -alias lmstudio -file /lmstudio.crt -keystore /usr/lib/jvm/java-17-openjdk-amd64/lib/security/cacerts -storepass changeitIn fact, the shortcut works:
keytool -import -trustcacerts -alias lmstudio -file /lmstudio.crt -cacerts -storepass changeitIn my docker compose I had to chain the command with the entry point. Still would have been nice to have an option of just putting trusted certs into folder without running commands.
-
State changed as build OD-7256 (15.0.0) is successful
-
OneDev
changed state to 'Closed' 2 months ago
Previous Value Current Value Open
Closed
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
14.1.9
|
| Labels |
No labels
|
Issue Votes (0)
Tried to point onedev installation (docker container) to LM Studio service hosting a lite model. The service is behind a nginx proxy with http/2 and self-signed cert configured. It does not trust it obviously, but even if I place or mount the certificate (PEM, seemingly the right format, openssl created with CN and subjectAltName=DNS defined) in the /opt/onedev/conf/trust-certs folder, as per documentation, the error stil remains, when trying to request the models list:
Tested with a public webhook utility which supplies a proper cert - it works. So all the services are working and available, just the cert is not loaded as trusted somehow?