First step, create a certificate. I can't help you much with that, because I used the cacert.org services. That way I only have to import the root certificates of cacert.org. But for a single certificate it will probably work the same way.
Edit /etc/opsi/opsiconfd.conf, and especially these ones:
Code: Alles auswählen
ssl server cert = /etc/opsi/yourcert.pem
ssl server key = /etc/opsi/yourcert.pem
If you don't have certificate in .pem format you might have to convert it, but a lot of sites on the internet tell you how to do that. Maybe OPSI also knows other formats, I don't know about this, I'm not really experienced with this, but at least it works.
Also look here for the entry I created on the opsi wiki a while ago:
wiki/userspace:java_runtime
Code: Alles auswählen
; Install cacert.org root certificates in java keystore
"%ProgramFiles64Dir%\Java\jre7\bin\keytool.exe" -noprompt -import -alias cacert-root -keystore "%ProgramFiles64Dir%\Java\jre7\lib\security\cacerts" -trustcacerts -file "%ScriptPath%\files\cacert.org-root.der" -storepass "changeit"
"%ProgramFiles64Dir%\Java\jre7\bin\keytool.exe" -noprompt -import -alias cacert-class3 -keystore "%ProgramFiles64Dir%\Java\jre7\lib\security\cacerts" -trustcacerts -file "%ScriptPath%\files\cacert.org-class3.der" -storepass "changeit"
You could rewrite this as:
Code: Alles auswählen
; Install yourcert certificate in java keystore
"%ProgramFiles64Dir%\Java\jre7\bin\keytool.exe" -noprompt -import -alias yourcert -keystore "%ProgramFiles64Dir%\Java\jre7\lib\security\cacerts" -trustcacerts -file "%ScriptPath%\files\yourcert.der" -storepass "changeit"
Again, you have to find out yourself how to convert the certificate to a .der type, and it probably can be any format, .pem will probably also work, I'm not sure. I only change the certificate once so often
But, you might get a bit further with this.
However, have you tried updating your opsi server?