Skip to main content
All CollectionsKnowledge BaseEndpoint and SaaS AppsHow To - Endpoint and SaaS Apps
How to configure SSO for an inSync Cloud administrator using JumpCloud as IdP
How to configure SSO for an inSync Cloud administrator using JumpCloud as IdP
Updated over 2 weeks ago

This article applies to:

  • Product edition: inSync Cloud


❗ Important

  • Only a Druva Cloud administrator can set up Single Sign-on.

  • Configure Single Sign-on based on the applicable scenarios:

  • Druva recommends generating the SSO token only once. If the token is generated again, the older SSO token registered with the IdP becomes invalid. Hence, if you generated a new SSO token, update the IdP details accordingly.


Overview

This article provides the steps to configure SSO for an inSync Cloud administrator using JumpCloud as IdP.

Configuration steps:

  1. Configure a custom Druva app for inSync Cloud on JumpCloud portal

  2. Configure JumpCloud Single Sign-On

  3. Configure inSync Cloud to use JumpCloud login

  4. Assign Users/Groups in JumpCloud to use Druva app

  5. Enable SSO for administrators

Configure a custom Druva app for inSync Cloud on JumpCloud portal

ConfigCustAppJumpCloud.png

To configure a custom app:

  1. Log in to the JumpCloud Admin Portal: https://console.jumpcloud.com.

  2. Go to Applications and click Plus to configure a new application.

  3. Search for SAML.

  4. Click Configure.

Configure JumpCloud Single Sign-On

Under the Configure SAML section, there are several configurable fields. Only the required configurations are specified below and the rest can be omitted with their default values.

Provide the values for the fields as described below:

  1. DISPLAY LABEL: Enter the name for the Application. For example, Druva or Druva App. ​

    SAMLConfig1.png

  2. IDP ENTITY ID: This is the unique, case-sensitive identifier used by JumpCloud for the service provider. This is a mandatory field, although the value supplied to this field is not required on the Service Provider end. For example, you can enter jumpcloud-druva.

  3. IDP PRIVATE KEY and IDP CERTIFICATE: Generate a public certificate and private key pair to connect Druva application to JumpCloud with the below steps.

    ​ Windows users

    • To create a certificate, install OpenSSL. Download and install the latest version of OpenSSL (full installation) from: http://slproweb.com/products/Win32OpenSSL.html

      OpenSSL requires Visual C++ 2008 redistributables, which are available from the same website. The bitness of Visual C++ depends on the bitness of the downloaded openSSL.

    • Once the OpenSSL is installed, navigate to OpenSSL directory and run the following command:

      Set OPENSSL_CONF=c:\openssl-win64\bin\openssl.cfg

      This command sets the location for OpenSSL configuration file.

    • Download the openssl.cnf file using the link https://jumpcloud.desk.com/customer/...cnf?1565716806 and rename the downloaded file to openssl.cnf and then place it in the below path.

      C:\<Installation path of Software>\openssl-win64\bin

    • From the command prompt run openssl.exe

From the OpenSSL> command prompt, run the following commands to generate a new private key and public certificate.

​OpenSSL> genrsa -out myprivatekeytest.pem 2048
OpenSSL> req -new -x509 -key myprivatekeytest.pem -out mypublic_certtest.pem -days 3650 -config .\openssl.cnf
  • Fill out the form to complete the certificate creation. The form appears similar to the screenshot below:

    This generates the key valid for 3650 days. Once it expires it has to be generated again.

    ConfigJumpCSSOWin.png


    This operation generates a key pair from which myprivatekeytest.pem can be used as IdP Private key and mypublic_certtest.pem can be used as IdP certificate.
    ​​

  • Click Upload IdP Private Key browse and select the myprivatekeytest.pem file from the directory C:\<Installation path of Software>\openssl-win64\bin and click Open.

  • Click Upload IdP Certificate browse and select the mypublic_certtest.pem file from the directory C:\<Installation path of Software>\openssl-win64\bin and click Open.

MAC/Linux users
Open the terminal for Linux or Mac and run the following commands:

openssl genrsa -out private.pem 2048
openssl req -new -x509 -sha256 -key private.pem -out cert.pem -days 1095
  • Fill out the form to complete the certificate creation. It will appear similar to the screenshot below:​

    ConfigJumpCSSOMacLinux.png



    This generates the key which is valid for 1095 days. Once it expires, it has to be generated again.

  • Click Upload IdP Private Key browse and select the private.pem file and click Open.

  • Click Upload IdP Certificate browse and select the cert.pem file and click Open.

4. SP ENTITY ID:

For Public Cloud:

DCP-login

For Dell Apex:

DCP-login

For Gov Cloud:

DCP-loginfederal

For Gov Cloud (FIPS):

DCP-govlogin ​

SSOConfigAdmin.png


5. ACS URL: Enter

Reply URL (Assertion Consumer Service URL):

  • For Public Cloud:

https://login.druva.com/api/commonlogin/samlconsume
  • For Dell Apex:

https://dell-login.druva.com/api/commonlogin/samlconsume
  • For Gov Cloud:

https://loginfederal.druva.com/api/commonlogin/samlconsume
  • For Gov Cloud (FIPS):

https://govlogin.druva.com/api/commonlogin/samlconsume

6. SAMLSUBJECT NAMEID & SAMLSUBJECT NAMEID FORMAT: Retain the default selection of email & urn:oasis:names:tc:saml:1.0:nameid-format:unspecified respectively.

7. CONSTANT ATTRIBUTES: Click +add attribute button and add the constant attribute. In the Name field, enter the druva_auth_token and in the Value field enter the SSO token generated from the admin console. ( How to generate an SSO token ).

SAMLGovCloudConfig3.png


8. GROUPS ATTRIBUTE NAME: Leave this field entry as memberOf.

9. SIGNATURE ALGORITHM: Retain entry as RSA-SHA256.

10. IDP URL: The default value of this field is https://sso.jumpcloud.com/saml2. Provide a unique name after this field as shown below.

https://sso.jumpcloud.com/saml2/ <Enter a unique name>
 Sample:https://sso.jumpcloud.com/saml2/druvasso

Configure inSync Cloud to use JumpCloud login

To configure Single Sign-on follow the below steps:

  1. Log in to https://login.druva.com as an administrator.

  2. Go to Gearnew > Settings.

  3. Open the Single Sign-On tab and click Edit.

  4. On the Single Sign-On Settings window, add the details as described below:

    • ID Provider Login URL: Enter the URL created in the step 10 of the second section.

    • ID Provider Certificate: Open your mypublic_certtest.pem in a Notepad and copy its content to this field. The file was generated in step 3 of the second section.

  5. Retain the default values in the remaining fields and click Save.

Assign Users/Groups in JumpCloud to use Druva app

Create a user

  1. Click Users in JumpCloud console.

  2. Click the Plus plus icon.

    CreateUsers.png

  3. Fill the mandatory details like Username and Company email address.

  4. Click Save user.

Create Groups

  1. Click Groups.

  2. Click the Plus plus icon and select Create Group of Users.

    CreateGroups.png

  3. Enter the name to the group.

  4. Open the Users tab.

    CreateJSGroups.png

  5. Select the users you want to assign to this group.

Assign Application to the users

  1. Open the group created before.

  2. Open the Applications tab.

  3. From the list of applications, select Druva.

AssignApptoUsers.png

Enable SSO for administrators

  1. Click the Druva logo Druvalogonew > Druva Cloud Settings. The Access Settings page opens.

    DruvaCloudSettings.png

  2. On the Single Sign-On section, click Edit.

  3. Select Administrators log into Druva Cloud through SSO provider under Access Control section.

    AccessControl.png

  4. Click Save.


💡 Tip

Druva recommends to enable Allow failsafe access to Druva Cloud administrators. A Failsafe Administrator can use both Single Sign-On and inSync administrator credentials to access the inSync Management Console. This is useful to gain access to the console to resolve the configuration issues.


Did this answer your question?