Graphdb 通过HTTPS提供内容服务

Graphdb 通过HTTPS提供内容服务,graphdb,Graphdb,GraphDB Free是否可以配置为允许通过HTTPS提供内容 我正在使用Angular2创建一个简单的前端web应用程序,它向GraphDB SPARQL端点发出HTTP请求 我正在使用Windows IIS,服务器已设置为不信任任何未通过HTTPS提供的内容 任何见解都会有帮助。根据GraphDB配置文件$GDB_HOME/conf/GraphDB.properties中的说明,启用HTTPS取消注释以下行: # Enable SSL (uncomment to enable) graph

GraphDB Free是否可以配置为允许通过HTTPS提供内容

我正在使用Angular2创建一个简单的前端web应用程序,它向GraphDB SPARQL端点发出HTTP请求

我正在使用Windows IIS,服务器已设置为不信任任何未通过HTTPS提供的内容


任何见解都会有帮助。

根据GraphDB配置文件
$GDB_HOME/conf/GraphDB.properties
中的说明,启用HTTPS取消注释以下行:

# Enable SSL (uncomment to enable)
graphdb.connector.SSLEnabled = true
graphdb.connector.scheme = https
graphdb.connector.secure = true

# GraphDB uses the Java implementation of SSL, which requires a configured key in the Java keystore.
# To setup keystore uncomment the following properties and set keystorePass and keyPass to the actual values.

graphdb.connector.keyFile = <path to the keystore file if different from ${graphdb.home}/keystore>
graphdb.connector.keystorePass = <secret>
graphdb.connector.keyAlias = graphdb
graphdb.connector.keyPass = <secret>
如果您有第三方受信任的OpenSSL证书,则需要将其转换为PKCS12密钥,然后使用以下内容导入Java密钥库:

keytool -genkey -alias graphdb -keyalg RSA
keytool -importkeystore -deststorepass MYPASS -srckeystore mypkcs12.p12 -srcstoretype PKCS12
有关如何处理第三方受信任证书的更多信息,请查看此极好的链接,详细介绍如何转换

已编辑


要查找桌面安装的$GDB_主目录,检查。

我在我的ubuntu系统中似乎找不到graphdb.properties文件。它应该在$GDB_HOME/conf/graphdb.properties下。桌面服务器和独立服务器之间存在差异要在桌面安装中找到$GDB_HOME路径,请查看graphdb文档