Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How To Export Certificate

Alistair Robson April 23, 2018

Hi,

 

Does anybody know how to export the SSL Certificate from a crowd server? I need to connect to crowd from a console app.

 

Best regards

2 answers

0 votes
Bruno Vincent
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.
April 23, 2018

Hi @Alistair Robson

This is not specific to Crowd (you can use the trick for any server with SSL/TLS enabled) but I suggest you use openssl in a shell or command prompt:

openssl s_client -connect server:port

For instance

openssl s_client -connect crowd.yourdomain.com:8443
0 votes
Marcin Kempa
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 23, 2018

Hi @Alistair Robson,

Could you share some more details regarding your setup? Did you follow this documentation to setup SSL with Crowd https://confluence.atlassian.com/crowd/configuring-crowd-to-work-with-ssl-151520306.html?

If so, probably you will be able to export the certificate from the java trust store. You will find the proper command in the documentation I've mentioned.

 

Hope that helps,

Marcin Kempa

Alistair Robson April 23, 2018

Hi Martin

Thanks for the reply.

Our setup is working correctly and I think we did follow the instructions to work with SSL.

Now however I want to add another application that connects via a console app (which will contain the login details of a user account setup for that App.)

So to do that I am guessing I need to export the certificate from the trust store and attach the certificate to the web request from the console app.

As far as I can tell the instructions you mention don't mention how to export, only how to import.

I am a bit new to certificates so you might have to spell out the command to run.

Thanks again

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events