1. François Van Lerberghe
  2. as Embedded Server
  3. Пятница, Октябрь 15 2021, 10:24 AM
  4.  Подписаться через email
Hello,

I cannot load VServer in a new installation. The error log say :
"Valentina server ssl private key or certificate error"

Config : MacOS Catalina 10.15.7
In the .ini file, I have

[SSL]
; Secure port to listen by VServer.
; 0 - do not use a secure port.
PORT_SSL = 0

; The path, where a certificate is stored.
SSL_CERTIFICATE = dummy.pem

; The path, where a private key is stored.
SSL_PRIVATEKEY = key.pem


Adding both file (dummy.pem and key.pem) or not give me the same error.
In many other install, i've not added this files and this is working like a charm when I issue "sudo launchctl load [my plist file]" line in the Terminal.

Do you have some idea why I get this error ?
Комментарий
There are no comments made yet.
François Van Lerberghe Ответ принят
Found the problem :p
I gone to the System Preferences > Privacy and Security : All files and folders and check the box for VServer
Now VServer is allowed to read the licence file.
(and I suppose the .ini file problem was the same but as I let the server create a new one it is allowed to read it also).
Комментарий
There are no comments made yet.
François Van Lerberghe Ответ принят
And the logs say me that the INI file is incorrect, despite the fact that it's strictly the same as in other install !

I tried to load without ini file. The server created its own ini file. Next I change all the properties in order to set them with my values. Bingo : it's loading now.
The differences are only 1) the case of property name and 2) without spaces between name property and value
The load working now : my INIT file is read.

... but still an error : the VServer says that my license file is not valid. Grrrr.
I've removed the quarantine attribute, but no success reading it by the server.
Some idea about that ?
Комментарий
There are no comments made yet.
Ivan Smahin Ответ принят
Strange. Could you send me an original ini file for testing?
Комментарий
There are no comments made yet.
  • Страница :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories