2014-07-02 48 views
2

我想將訪問Alfresco共享的URL從http://localhost:8080/share 更改爲https://sitename.companyname.com/share。 我寧願使用Alfresco tomcat服務器進行此更改,而不涉及代理。使用https(SSL)url訪問戶外

我做了以下的變化而變化的端口號:

  1. alfresco-global.properties

    alfresco.context =露天 alfresco.host = sitename.companyname.com alfresco.port = 8443 alfresco.protocol = HTTPS

    share.context =份額 share.host = sitename.companyname.com share.port = 8443 share.protocol = HTTPS

  2. 共享配置,custom.xml

更改端點url以 http://localhost:8443/alfresco/

可以根據需要什麼的HTTPS設置更改任何建議?

謝謝。

+1

你看到什麼問題? –

+0

我按照@mitpatoloya提到的步驟進行操作,並在下面註釋出錯。另外,我想使用我公司爲https網站獲得認證的已購買的SSL。 – juilee

回答

3

的步驟使用SSL與露天

設置server.xml中

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" 
      maxThreads="150" scheme="https" secure="true" 
      clientAuth="false" sslProtocol="TLS" /> 

設置在alfresco-global.property

  • alfresco.context =露天
  • alfresco.host = sitename.companyname.com
  • alfresco.port = 8443 alfresco.protoc醇= HTTPS
  • share.context =份額
  • share.host = sitename.companyname.com
  • share.port = 8443
  • share.protocol = HTTPS

設置在共享配置-custom.xml

相應地修改端點URL。 https://<domain>:8443/alfresco/

+0

嗨@mitpatoliya,謝謝你的回覆。我遵循了你提到的確切步驟。當我嘗試訪問https://sitename.mycompany.com/share時,它提供了以下錯誤日誌:導致:java.net.BindException:已在使用的地址:JVM_Bind :8443。另外我想使用我自己的SSL證書。這怎麼能做到? – juilee

+0

首先嚐試訪問sitename.mycompany.com/alfresco是否可以使用https訪問它? – mitpatoliya

+0

對於使用自己的SSL您需要生成與您的域名「sitename.mycompany.com」ssl證書,並與您的JVM信任庫註冊該證書 – mitpatoliya