如何在Alfresco SharePoint协议中启用SSL

时间:2018-12-02 13:22:55

标签: ssl sharepoint https ms-office alfresco

要在露天社区5.2版中编辑Microsoft Office文档,我安装了amp MS Office SharePoint协议 在线编辑选项在http中可以正常使用,但在htpps中不能使用

我没有希望地遵循了此步骤:(

  1. 创建tomcat / shared / classes / alfresco / extension / vti-custom-context.xml

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://
www.springframework.org/dtd/spring-beans.dtd'>
 <beans>
  <bean id="vtiServerConnector" class="org.mortbay.jetty.security.SslSocketConnector">
    <property name="port">
       <value>${vti.server.port}</value>
    </property>
    <property name="headerBufferSize">
       <value>32768</value>
    </property>
    <property name="maxIdleTime">
       <value>30000</value>
    </property>
    <property name="keystore">
       <value>${vti.server.ssl.keystore}</value>
    </property>
    <property name="keyPassword">
       <value>${vti.server.ssl.password}</value>
    </property>
    <property name="password">
       <value>${vti.server.ssl.password}</value>
    </property>
    <property name="keystoreType">
       <value>JCEKS</value>
    </property>
  </bean>
</beans>

  1. 将所需的属性添加到alfresco-global.properties

vti.server.port=7070
vti.server.protocol=https
vti.server.ssl.keystore=/opt/alfresco/alf_data/keystore/ssl.keystore
vti.server.ssl.password=kT9X6oe68t
vti.server.url.path.prefix=/alfresco
vti.server.external.host=localhost
vti.server.external.port=7070
vti.server.external.protocol=https
vti.server.external.contextPath=/alfresco

  1. 重新启动露天服务

0 个答案:

没有答案