IBM Sterling Connect:Direct : Install C:D Web Services

From Wiki


Install C:D WebService

Extract tar.gz file

[cdadmin@cd1 Downloads]$ tar -xzvf IBM_CDWebServices_V_6.2.0.15_Redhat_x64.tar.gz

MFTWebServicesInstallRedhat.bin
MFTWebServicesInstall.sh
silentInstall.properties

Run Installer

[cdadmin@cd1 Downloads]$ ./MFTWebServicesInstall.sh 

Introdução

===============================================================================
MFTWebServices                                   (created with InstallAnywhere)
-------------------------------------------------------------------------------

Preparing CONSOLE Mode Installation...

===============================================================================
Introduction
------------

Welcome to the installation wizard for MFTWebServices.
This wizard guides you through the installation of MFTWebServices.
You are strongly recommended to quit all programs before continuing with this installation.
Respond to each prompt to proceed to the next step in the installation.

You may cancel this installation at any time by typing 'quit'.

Licensed Materials - Property of IBM Corp. © IBM Corporation and other(s). 
2023.

PRESS <ENTER> TO CONTINUE: 

Pressione Enter

===============================================================================
Choose Install Folder
---------------------

Where would you like to install?

  Default Install Folder: /home/cdadmin/MFTWebServices

ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
      : 

Definir o path de instalação, informar e Enter

===============================================================================
Port for Web Server
-------------------

Enter the ConnectDirectWebServices secure server port.
eg. https://cd1:9443/cdws-doc/signOn.html
https://cd1:9443/cdws-ui/index.html
      

Secure Port (Default: 9443): 

Defina a porta segura e Enter

===============================================================================
Pre-Installation Summary
------------------------

Review the following information before you continue the installation:

Product Name:
    MFTWebServices

Install Folder:
    /home/cdadmin/MFTWebServices

Web Server Port
    9443

Version
    6.2.0.15

Disk Space Information (for Installation Target): 
    Required:   1,137.13 MegaBytes
    Available: 60,321.73 MegaBytes

PRESS <ENTER> TO CONTINUE: 

Confirme os dados e de Enter

===============================================================================
Installing...
-------------

 [==================|==================|==================|==================]
 [------------------|------------------|------------------|------------------]

Aguarde o fim da instalação

===============================================================================
Keystore Password
-----------------

Enter a password for Connect:Direct Web Service's keystore. (Please retain 
this password as it will be required in the future.)

Please Enter the Password: 

Informe a senha da keystore

===============================================================================
Confirm Password
----------------


Please Enter the Password again: 

Informe a senha da keystore

===============================================================================
Configure Certificate
---------------------

Configure one of two types of certificate:
1. Self Signed Certificate: A certificate is automatically generated from 
input provided by you.
2. CA Signed Certificate: Import a CA-signed certificate, its private key, and
the CA and intermediate certificates.

Please note that certificate configuration can be updated after installation.
Please refer IBM CDWS 6.2 documentation for more details.

Enter Your Choice:
1. Generate Self Signed Certificate
2. Import CA Signed Certifcate


 (Default: 1): 1

Configuração do Certificado TLS, no meu caso Self Signed

===============================================================================
Certificate Label
-----------------

Enter Certificate Label

 (Default: mftwebservices): 

===============================================================================
Certificate Expiry Time
-----------------------

Enter Certificate expiry time(MAX value: 3649 days)

 (Default: 365): 3649

===============================================================================
Common Name(CN)
---------------

Enter Common Name(CN)

 (Default: cd1): 

===============================================================================
Organization Name
-----------------

Enter name of the organization

 (Default: OrganizationName): 

===============================================================================
Locality Name
-------------

Enter name of the locality

 (Default: Irving): 

===============================================================================
State Name
----------

Enter name of the State

 (Default: Texas): 

===============================================================================
Country Name
------------

Enter Country Name

 (Default: US): 

===============================================================================
Enter E-mail Address
--------------------

Enter E-mail Address: 

 (Default: [email protected]): 

===============================================================================
Enter DNS Name
--------------

Enter DNS Name

 (Default: cd1): 

===============================================================================
Enter IP Address
----------------

Enter IP Address

 (Default: 10.0.0.1): 

===============================================================================
Certificate Details
-------------------

The certificate will be generated with following details:
________________________________________________________

KEYSTORE NAME: ssl-server.jks
KEYSIZE: 2048
CERTIFICATE LABEL:"mftwebservices"
CERTIFICATE EXPIRY TIME: "3649"
CN: "cd1"
ORGANIZATION: "OrganizationName"
LOCALITY: "Irving"
STATE: "Texas"
COUNTRY: "US"
EMAIL ID: "[email protected]"
ALGORITHM: SHA256withRSA
FQDN: cd1
IP ADDRESS: "10.0.0.1"

PRESS <ENTER> TO CONTINUE: 

Confirme as informações e de Enter

===============================================================================
Certificate Generated Successfully
----------------------------------

Certificate Generated Successfully.

KEYSTORE NAME: ssl-server.jks
CERTIFICATE LABEL: mftwebservices
PATH: /home/cdadmin/MFTWebServices/mftws/BOOT-INF/classes/ssl-server.jks
ALGORITHM: SHA256withRSA

PRESS <ENTER> TO CONTINUE: 

Confirme os dados e de Enter

===============================================================================
Installation Completed
----------------------

Installation and Certificate configuration is complete.

MFTWebServices-6.2.0.15 has been successfully installed to: 
/home/cdadmin/MFTWebServices

ConnectDirectWebservices User Interface is available at  : 
https://cd1:9443/cdws-ui/index.html
ConnectDirectWebservices API reference is available at  : 
https://cd1:9443/cdws-doc/signOn.html 

PRESS <ENTER> TO EXIT THE INSTALLER: 

De Enter para finalizar


Login

Access

https://cd1:9443/cdws-ui/index.html

and provide

user: admin
password: admin

After first login, you must change password.


If you forgot password use

cd /home/cdadmin/MFTWebServices/bin

./ResetDefaultCDWSAdminPassword.sh

Ver também