• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

up2date sso certificate

Q

quanticom

Guest
Hello,

I don't see any procedure in the documentation to up to date the single sign on certificate.

Can you explain me the correct way to change this cert when is expired?

port 11443

Best regards,

Miguel
 
not enougth

To install the SSO certificate, please, do the following:

1. replace /etc/sso/sso.pem file (this is the default certificate) with the new one.

2. afterwards, please, restart SSO server:

# /etc/init.d/sw-cp-server restart

Now the certificate should be active.
 
signature is not valid;

there is an error with the new sso cert when you close an user SB session you get that

Internal Sitebuilder error.
File: /usr/local/sitebuilder/include/SB/Actions/SSO/Proxy.php; Line: 142
Message: SSO response signature is not valid; Code: 0

Go back Send report to developers

and some users can't login.

How can I do? can someone tell me the procedure to change the sso cert correctly?

Regards,

Miguel
 
procedure

[root@ ~]# openssl genrsa -des3 -out sso.key 512
Generating RSA private key, 512 bit long modulus
....++++++++++++
....++++++++++++
e is 65537 (0x10001)
Enter pass phrase for sso.key:
Verifying - Enter pass phrase for sso.key:


[root@ ~]# openssl rsa -in sso.key -out sso.pem
Enter pass phrase for sso.key:
writing RSA key
[root@ ~]#

[root@ ~]# openssl req -new -key sso.pem -out sso.csr
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.

# openssl x509 -req -days 366 -in sso.csr -signkey sso.pem -out sso.crt

now it looks like this:

[root@ ~]# cat /etc/sso/sso.pem


After that I found corresponding sso certificates in Plesk and Sitebuilder:

[root@ ~]# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e "select * from misc where val like '%sso%'"
+---------------------+--------------------------------+
| param | val |
+---------------------+--------------------------------+
| sso_certificate | /usr/local/psa/var/sso.sp.pem |
| sso_idp_api_version | sw:sso:idp:1_0 |
| sso_idp_cert | /usr/local/psa/var/sso.idp.pem |
+---------------------+--------------------------------+

And SB:

[root@ ~]# find /usr/local/sitebuilder/etc/ | grep sso_[s,i] |.pem

/usr/local/sitebuilder/etc/sso_idp_cert.pem
/usr/local/sitebuilder/etc/sso_sp_key.pem

After that I replaced certificate section from /etc/sso/sso.pem into /usr/local/psa/var/sso.idp.pem and /usr/local/sitebuilder/etc/sso_idp_cert.pem files accordingly.

http://www.quanticom.es
 
Back
Top