I've acquired an SSL cert for our confluence instance (Windows server 2012) and I'm having some difficulty with installing it. I've gone through the documentation on here but we still run into an issue where the site is not secure. Any ideas? Here is what the cert looks like.
Kevin,
What exactly is happening? Are all requests not being automatically routed to HTTPS?
Can you show us any messages you're seeing about the cert not being secure?
Regards,
Shannon
Shannon,
I went through the process of importing the cert & then I imported the root & intermediate certs as I saw in some of the documentation. After doing so I made the changes to the base url and the xml as documented and restarted the instance. When trying to navigate to the https link we get the below message.
However navigating to the http link does work but displays the messaging below
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kevin,
Could you run through this troubleshooting using SSLPoke and let us know what comes back?
Can you also let me know if you get that error in more than just Chrome?
Lastly, if you click on that *Not Secure* error in your address bar, can you show me the information that is provided?
Kind Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Shannon,
Forgive me here but I'm not familiar with how to utilize SSLPoke and after looking at the documentation I was not able to get it to run successfully. I downloaded the file to the server and then ran the command as it stated on the steps but no luck.
This occurs in any browser & I will get you a screenshot of what shows up on the address bar.
Thank you!
-Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kevin,
You can paste in reply to this with what the error message is that you're getting when you try to run SSLPoke? It will help me to understand why it's not running properly.
You can include the steps you were able to complete and let me know where it fails.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Shannon,
C:\Windows\System32>$JAVA_HOME/bin/java SSLPoke confluence.mcsonj.org 8090
'$JAVA_HOME' is not recognized as an internal or external command,
operable program or batch file.
I'm assuming that the file needs to be in a certain directory etc. on the server right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kevin,
JAVA_HOME refers to a a variable that you have set.
See Installing Java for Confluence:
Installing the JDK on Windows
Before you start, go to Control Panel > Programs and Features to check whether a JDK is already installed.
To install the JDK on Windows:
Download the appropriate JDK 8 version.Check the Supported Platforms page to find out which JDK / JRE versions are supported for your version of Confluence.
Run the Java installer. Make a note of the installation directory, as you'll need this later.
Once the Java installation is complete, check that theJAVA_HOME
environment variable has been set correctly. Open a command prompt and typeecho %JAVA_HOME%
and hit Enter.
If you see a path to your Java installation directory, the JAVA_Home
environment variable has been set correctly.
If nothing is displayed, or only%JAVA_HOME%
is returned, you'll need to set theJAVA_HOME
environment variable manually. See Setting the JAVA_HOME Variable in Windows for a step by step guide.
Once you've done this, I recommend restarting the Windows machine. The next time Confluence starts up, if this is set correctly, then Confluence will use this Java installation.
Once that's complete, then start again from Running Confluence over SSL from the step where you were importing the certificate and go from there.
Let us know if you have any trouble!
Kind regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Shannon, so even through the certs are imported I would need to redo that step or no?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you didn't already have JAVA_HOME set up before you did the import, then you will need to do it again because the location is going to be different. Also, some other things do occur in the background besides just the import of files, so this is important to repeat once you have set JAVA_HOME correctly.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Shannon,
I deleted the certs from the keystore and re-imported them, restarted the instance and the same result occurs, also have the same result with trying to run the sslpoke. Any thoughts?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kevin,
So if you reimported the cert after you have run through the instructions I sent to install the latest JDK and set the JAVA_HOME path, can you send the results of the following:
echo %JAVA_HOME%
and
java -version
Thank you!
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Shannon,
I did so, here are the results of the two commands.
C:\Users\kdecker\Desktop>java -version
java version "1.8.0_162"
Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode)
C:\Users\kdecker\Desktop>echo %JAVA_HOME%
C:\Progra~1\Java\jre1.8.0_162
Thanks!
-Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.