Showing posts with label Oracle. Show all posts
Showing posts with label Oracle. Show all posts

Friday, 26 October 2018

Configuring SSL in JCS/SOAcs Server with PFX certificate file

PFX file is the file generated by windows ISS which contains certificate and private key of the certificate. The steps to apply this certificate on java cloud service or soa cloud service are described below.


  1. Export the certificate with its private key from IIS as .pfx file.
  2. Move the .pfx file to the bin folder of keytool in oracle soacs VM
    • Connect to VM through winscp and move the file using opc user.
    • Connect to the VM through putty and change the permissions (chmod) and change owner (chown).
    • Move the file to /u01 (or some other location of your choice)
  3. Now we need to convert the .pfx file to jks. Use the below command to achieve this,
$JAVA_HOME/bin/keytool -v -importkeystore -srckeystore <<pfx_file>> -srcstoretype PKCS12 -destkeystore <<destincation_jks>> -deststoretype JKS

This will ask for destination password (you have to set new password)
Source password: Enter the password of pfx private key
  • View the content of the newly created JKS to obtain the original alias of private key

$JAVA_HOME/bin/ keytool -list -v -keystore <<jks_keystore_created_above>>
Enter keystore password:
Keystore type: JKS
Keystore provider: SUN

Your keystore contains 1 entry

Alias name: <<alias will be printed here>>
  • Change the original alias to a simpler alias
$JAVA_HOME/bin/keytool -keystore <<new_keystore.jsk>> -storepass <<password>> -changealias -alias <<original_alias>> -keypass <<orinial pfx password>> -destalias <<new _alias>>
  • Now the new JKS file is ready which needs to be used as weblogic identity store.
  • Login to weblogic admin console, Lock & edit.
  • Navigate to environment à servers.
  • Select admin server, click on keystores tab
  • Change the keystore to “Custom Identity and Java Trust Store”
Custom Identity Store = <<path of new JKS>>
Custom Identity Keystore Type = JKS
Custom Identity Keystore Passphrase = <<keystore password>>
Confirm Custom Identity Keystore Passphrase = << keystore password >>
  • Go to SSL tab
Private Key Alias= <<Alias that you created in step 5>>
Private Key Passphrase = <<password of private key>>
Confirm Private Key Passphrase = <<password of private key>>
  • Save & Release Configuration.
  • Restart the SSL (from Environment à Servers, control tab)
  • Repeat the above five steps for each managed server.
  • Restart the SSL of each server. Now you can access your server/apps over https.

Friday, 19 January 2018

Oracle Intelligent bot platform - Introduction

I am going through an online course from oracle on their Intelligent bot platform of. I will be jotting down the key concepts of this course and platform so that it will act as a quick reference guide for anyone who is starting to work on this technology and for people (like me) who want a quick reference. Let’s get started,

What are Intelligent bots??
A computer program that you can interact with in a conversational manner. The user experience of intelligent bot is to simulate a human being as a conversational partner. There are majorly two types of bots, the simpler ones scans for the keywords in the user input and more sophisticated ones which uses natural language processing (NLP) systems (to understand natural human conversations) .

Building blocks and terminology of Oracle intelligent bots
  •        Intents  
  •        Utterances
  •        Entity
  •        Intelligence
  •        Flow

Let us understand each one of them,

Intent:  Intent is like an use case a bot supports, any unit of work a bot supposed to handle. The key feature of any intelligent bot is “ A bot should be able to resolve the input to the same intention of the user”. Example: Check balance, transfer money etc.

Utterance: The way to connect user input to intents. You need to train the bot by giving utterances. Example for check balance can be what is my balance, tell my balance, how much money in my savings account etc

Entity: A variable element of an intent that you want to parameterize to allow input of different values. Bot resolves intent and then entity. Entity example for check balance intent will be savings, current and credit card.
Oracle intelligent bot has built in entities for common entities like date, currency, address etc.

Intelligence: Heart of any chat bot platform. The ability to understand users natural language conversations using natural language processing (NLP) capability.

Flow: Any Conversion will always have a flow to handle the user interactions.


Sunday, 12 November 2017

Configuring Oracle PCS with Oracle IDCS

This post covers the steps required to configure Oracle PCS (Process Cloud Service) as and application (for SSO) in IDCS (Identity Cloud Service). So let us start,


Configuration in IDCS
  • Login to the IDCS console
  • Go to Applications tab and click on Add
  • Select App Catalog in the pop up
  • Search for Oracle  and select Oracle Cloud.
  • Enter basic details and select Oracle Process Cloud Service in the App links section
  • Enter identity domain, domain name and SSO domain name
    • Identity Domain: your identity domain you can find it in my services dashboard
    • Domain Name: You can find it from your cloud url Eg: XXX.oraclecloud.com
    • SSO Domain name: Same as domain name
  • SSO Configuration
    • Entity ID: “entityID” attribute value from the PCS metadata file
    • Signing Certificate: the Signing certificate downloaded from PCS SSO configuration
  • Download the Signing Certificate and Identity Provider Metadata from this page (which will be used in PCS sso configuration page)
  • Save the configuration and Activate it.
Configuration in PCS


  • Login to PCS cloud services dashboard
  • Click on Users on the top right side
  • Click on SSO Configuration tab and click on Configure SSO button
  • Select import identity provider metadata
  • Choose File and upload the identity provider metadata file (such as idcs_metadata.xml, the one downloaded in IDCS page).
  • Select HTTP POST as SSO protocol.
  • Select User’s Email Address as User Identifier.
  • Select the Name ID as the contained in field
  •  Save the details and you are ready to test it and enable the SSO