cancel
Showing results for 
Search instead for 
Did you mean: 

trouble configuring sharepoint with HTTPS

ajbarnesy
Champ in-the-making
Champ in-the-making
Hi,

Im new to alfresco and have setup SharePoint though when i go into a document and click edit online, it opens Microsoft Word but doesnt bring up the page.
Does anybody have any knowledge of what i should do?
I thought maybe its because i have SSL on my site, but i cant understand the configuration instructions of configuring sharepoint to work with HTTPS.

thanks in advanced.
9 REPLIES 9

ajbarnesy
Champ in-the-making
Champ in-the-making
Okay so to my understanding you need to setup a keystore and enter in the bean below in vti-context.xml.

    <bean id="vtiServerConnector" class="org.mortbay.jetty.security.SslSocketConnector"> 
     <property name="port">
     <value>${vti.server.port}</value>
     </property>
        <property name="headerBufferSize">
             <value>8192</value>
        </property>
        <property name="maxIdleTime">
             <value>30000</value>
        </property>
        <property name="keystore">
             <value>D:/BUGS/ALF-6390/keystore.jks</value>
        </property>
        <property name="keyPassword">
             <value>changeit</value>
        </property>
        <property name="password">
             <value>changeit</value>
        </property>
        <property name="keystoreType">
             <value>JKS</value>
        </property>
    </bean>

with the changed values ofcourse, but apparently theres already a keystore setup? im just not sure how to find it and point to it.

ttownsend
Champ on-the-rise
Champ on-the-rise
I am experiencing the same challenge.  My environment is Ubuntu 10.04LTS and Alfresco Community v4.0.0 (3979) schema 5025.

I think that this solution is workable, but I am on linux and so the piece of code referring to "D:/BUGS/ALF-6390/keystore.jks" has me confused.  It seems to be specific to Windows environments and pathnames.  Is this applicable to linux?

Cheers,
T

EDIT:  To be more specific, what/where does "D:/BUGS/ALF-6390/keystore.jks" refer to in a linux environment?

david_ad
Champ in-the-making
Champ in-the-making
Hello,

I have the same problem.

I checked the documentation http://docs.alfresco.com/4.0/topic/com.alfresco.enterprise.doc/tasks/SharePoint-HTTPS-setup.html, but i already have Alfresco running with SSL so i don't understand if it's necessary to generate the key pair, and the "Alfresco and Tomcat for HTTPS Configuration" part.

Any solution?

Thanks,

ttownsend
Champ on-the-rise
Champ on-the-rise
Hi,

Still looking to see if anyone can provide guidance here for a linux environment…

102020
Champ on-the-rise
Champ on-the-rise
I'll let you know how it goes, I AM doing it on windows (although I'm well versed in linux).
But look at the updated doc, helps make more sense: http://docs.alfresco.com/4.1/topic/com.alfresco.enterprise.doc/tasks/SharePoint-HTTPS-setup.html
Also, where you see D:/BUGS/ALF-6390/keystore.jks > it is simply a file location that you are going to store the keystore files in (java cert files basically). In my case (in windows), I re-wrote that to: c:/alfresco/keys/keystore.jks (I created the 'keys' folder), and in vti-context under the keystore property, you put the same value (so it knows where to physically look). Not sure where the linux install structure goes /opt/alfresco ? but basically create a subfolder under whatever it is and rewrite that.

102020
Champ on-the-rise
Champ on-the-rise
So it almost 100% worked. My only snag is with the share-config-custom.xml, it says to change the endpoint-url (change the http to https and change port from 8080 to 8443), however can't login after change this config file. If I keep them at 8080 and http, I can login, and actually sharepoint does in fact work, but opens up documents in jibberish, guess i'll keep working on it tomorrow and post back.

102020
Champ on-the-rise
Champ on-the-rise
Just to keep anyone updated, I have sharepoint working 100% over SSL now, oddly, there are some steps I did not need which in fact messed things up more. Where it says to change values in share-config-custom.xml, I skipped this part completely. And the one item they do not detail is that you need to add the following 3 lines into your alfresco-global.properties:
### Sharepoint ###
vti.server.external.host=FQDN-GOES-HERE
vti.server.external.port=7070
vti.server.external.protocol=https

kuldeep
Champ in-the-making
Champ in-the-making
Hi there,

I am unable to get Sharepoint working over SSL, could you help me? A guide or walk-through will be of great help.

Thanks

beedaddy
Champ in-the-making
Champ in-the-making
Thanks a lot. I had to find your comment in order to make it work. Smiley Happy