Jump to content

Self signed SSL cert does not work on Ubuntu 14.04 LTS (?)


dist

Recommended Posts

Hello,

 

I am running an Ubuntu 14.04 LTS as a Microsoft Azure service. Assume the follwing dummy names:

  • local hostname: azure
  • public server name: plasticsrv

Because I want to access the service as 'plasticsrv' from the outside I need to replace the shipped ssl certificate.

 

Create a quick-and-dirty cert via openssl on the very machine:

    > openssl req -x509 -days 3650 -nodes -newkey rsa:1024 -keyout cert_plasticsrv.pem -out cert_plasticsrv.pem

 
    > openssl pkcs12 -export -out cert_plasticsrv.pfx -in cert_plasticsrv.pem -name "Plastic service cert"
 
Specify password during export. Then encrypt password by "> cm crypt the_password > pwd.txt".
Copy plasticsrv.pfx to /opt/plasticscm5/server.
 
Edit /opt/plasticscm5/server/remoting.conf:
  • replace cert
  • replace password
 
Running:
    > cm lrep ssl://daedwest:8088
        - Error: authentication or decryption failed.
 
    > cm lrep ssl://azure:8088
        - prints the CN name does not match notice and asks whether you want to install nonetheless
        - this notice tells me that the certificate was read properly
        - saying then produces the: Error: authentication or decryption failed.
 
If I install the very same certificate on a Windows machine authentication and decryption work.
 
Did I miss something?
Anybody encountered the same problem?
 
All the best,
Dirk
 

 

Link to comment
Share on other sites

Hi everybody,

 

I do not succeed in installing a self-signed cert on Ubuntu 14.04 LTS.

My prefered way to trigger cert installation would be running:

    > cm lrep ssl://<server_name>:8088

 

 

 

I am still hoping to find somebody that votes on:

 

     1) I have the same problem

 

     2) works perfect for me

 

 

Any voter gets a mental hug!

 

All the best,

Dirk

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...