Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

confluence content url is http instead of https

Dominik Yu May 7, 2020

Here's a screenshot regarding what's happened!

 

Since http is used only for internal internet, it's not possible for customer to access confluence content without having our company's vpn.

 

Is there any way to change the http address to https?

 

Thanks!

Dominik

2 answers

0 votes
Dominik Yu May 8, 2020

Thanks for the help! By chaning the display URL in the application URL, it solved my problem that content can not be shown via https outside internal network.

 

Screenshot_2.png

0 votes
Mike
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 7, 2020

This should be helpful: https://confluence.atlassian.com/doc/running-confluence-over-ssl-or-https-161203.html

 

Within <install-directory>/conf/server.xml you should see an example to complete with your information

repi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 8, 2020

The instruction from Atlassian for ssl / https describes the use of a self-created ssl certificate.
If there is no trusted ssl certificate for the company, I would get an ssl certificate using free letsencrypt.

Mike
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 8, 2020

@repi The idea is still the same utilizing keytool

You'll need the certificate (pem format, frequently has .cer extension) and the key file
Create a PKCS12 keystore from the private key and the public cert and the certificate chain:

openssl pkcs12 -export -name NAME -in FILE.cer -certfile CHAIN.crt -inkey FILE.key -out FILE.p12

keytool -importkeystore -destkeystore FILE.jks -srckeystore FILE.p12 -srcstoretype pkcs12 -alias NAME

repi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 10, 2020

@Mike 
Hi Mike
A long time ago I tried this with the self-created certificate.
It also works. Only every current browser rejects such a certificate as untrusted.
With Letsencrypt, however, I get a trustes certificate, which all browsers accept.
Unfortunately, you have to renew it every 3 months.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events