Hi all,
I'm trying to get HTTPS to work with Virtuoso. I'm following these two
documentation pages:
1) X.509 certificate Generation
http://www.openlinksw.com/dataspace/dav/wiki/Main/VirtGenerateX509Cert
2) Guide for Setting Up the Virtuoso HTTPS Listener using File System to
host Certificate and Public Key
http://www.openlinksw.com/dataspace/dav/wiki/Main/VirtSetupSSLFileSystem
I've got as far as establishing all the right pem files using OpenSSL,
and have modified my virtuoso.ini [parameters] to look like this:
SSLServerPort = 2111
SSLCertificate = /<my-path>/newcert.pem
SSLPrivateKey = /<my-path>/newkey.pem
X509ClientVerify = 1
X509ClientVerifyDepth = 15
X509ClientVerifyCAFile = /<my-path>/cakey.pem
I've also changed my URIQA DefaultHost to be wildebeest, which is what
my localhost machine is named.
(where <my-path> is my actual path... I've changed it in this email for
simplicity.)
Then I try to fire up virtuoso (using the virtuoso-start.sh script), and
I get this error:
$ sudo ./bin/virtuoso-start.sh
Starting Virtuoso instance in [database]
The VDBMS server process terminated prematurely
after opening the database.
***
*** ERROR: Could not start this Virtuoso Instance.
***
10:35:26 { Loading plugin 7: Type `Hosting', file `hosting_php.so' in
`../hosting'
10:35:26 Hosting version 3129 from OpenLink Software
10:35:26 PHP engine version 5.2.18-dev
10:35:26 SUCCESS plugin 7: loaded from ../hosting/hosting_php.so }
10:35:26 { Loading plugin 12: Type `plain', file `qrcode' in
`../hosting'
10:35:26 QRcode version 0.1 from OpenLink Software
10:35:26 Support functions for ISO/IEC 18004:2006, using QR Code
encoder (C) 2006 Kentaro Fukuchi <[email protected]>
10:35:26 SUCCESS plugin 12: loaded from ../hosting/qrcode.so }
10:35:26 Error loading the ODBC server X509 private
key /<my-path>/newkey.pem : �
10:35:26 Server exiting
***
*** Please fix the above issue(s) before trying again.
***
It seems to think that there are odd characters in the newkey.pem (the
commandline renders them as a question-mark and a 0001-box).
Here are my relevant system specs:
* Ubuntu 11.04 (The standard gnome desktop edition) with Linux Kernel
2.6.38-8-generic
* OpenSSL 0.9.8o-5ubuntu1
* OpenLink Virtuoso Universal Server 06.02.3129 (single server edition)
(Build: Mar 16 2011)
Any ideas why this may be? (it works fine when I comment out the SSL and
X509 parameters in virtuoso.ini - but I could do with getting HTTPS to
work)
Cheers,
Daniel
--
Daniel Lewis
---
Vanir Systems | http://vanirsystems.com/
Computer Science, Technical Writing & Development
Tel: +447834355516 | Email: [email protected]