Configure SSL or HTTPS for Oracle Apps 11i

What happens when we enable SSL in Oracle Web Server ?
I am assuming that SSL is already enabled at web server , so you type url with protocol as https (where s stands for Secure ), web server understand that this is SSL request so Web Server sends its certificates back to client stating its identity & with that its send a Public key which your browser use to encrypt & decrypt message send by Web Server . Web Server uses its private key(known to itself only, stored in either wallet or ssl directory discussed later in this post) & public key(key which is known to everyone) to encrypt & decrypt messages. SSL has build in feature which assures that data is not tempered with its from valid source . If you don’t understand all this at this minute don’t worry you still can configure SSL. This entire concept is called as PKI (Publick Key Infrastructure)

Myth about SSL Port in webserver ?
Do I need to only Use on port 443 for Web Server SSL Port ?? not at all , port 443 is standard port for HTTPS as port 80 for HTTP. You can use HTTPS on any port as long as port is listening for HTTPS requests .

Overview of Steps in configuring SSL over Web Server in Oracle Apps 11i ?
I am mentioning over view of configuring SSL on web server in Oracle Applications (If you wish to configure SSL for Forms Server & Database Servers ) Steps mentioned here are for Autoconfig Enabled system & Apache 1.0.2.2.2 and higher (If you are not aware of your Apache/httpd version check here http://teachmeoracle.com/version.html)
1. Create your SSL Certificates (I’ll cover later how to generate SSL certificates for Web Server)
2. Configure SSL parameters for web server variables via OAM or by changing Context File (xml file in APPL_TOP) These parameters I’ll discuss shortly.
3. Copy SSL Certificates created in step1 above, in SSL directories (Discussed Later) or Wallets (If you are using Oracle Wallets to store your certificates)
4. Run Autoconfig to take new parameters to take into effect
5. Test Applications with SSL

Please note that above steps are for implementing SSL only on Web Server there are additional steps if you want to configure SSL on Form Server & Database Server . (I am not mentioning them here as this is not common)

What is meant by creating SSL Certificates ?
You remember above I discussed that server sends its certificates (public) to browser & uses private key to encrypt & decrypt messages . So steps in creating Certificates are
1. Create Private key using openssl
2. Create certificate request using private key created above
3. Submit request file to Certifying Authority like verisign
4. Get Certificates from certifying Authority (CA)
If you are testing SSL you can use test certificates supplied with Web Server

What are various parameters in XML file (CONTEXT File) w.r.t. SSL ?
s_web_ssl_directory – Directory where SSL certificates are stored
s_url_protocol – https means you are using ssl (Default is http)
s_local_url_protocol – change it to https for SSL
s_webssl_port – Apache SSL port
s_active_webport – same as s_webssl_port
s_webport – same as s_webssl_port

Lot more coming in next post on configure SSL with Oracle Apps 11i….

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

9 comments
Anonymous says October 27, 2006

Hi Atul,

Thanks for discussing configuring SSL. While cloning SSL based Instance using Rapid Clone, are there any extra steps that needs to be taken care of?

Thanks
Nagarajan

Reply
Atul Kumar says October 27, 2006

Naga,
Very valid points .

No, You don’t need to do anything except server certificates generate for new server & replace cloned instance with new one.

I’ll cover it in next post . Good & thanks for pointing this out .

Atul
http://teachmeoracle.com

Reply
ahmed says May 10, 2010

Hi Atul,

Need some clarification regarting Apache.

One of our customer wants to upgrade Apache from 1.3.34 to 1.3.35 but his current version is 1.3.19. Can u plz let me know if we can just upgrade Apache individual.

Reply
Atul Kumar says May 10, 2010

@ Ahmed,
Is this standalone apache or apache which is part of Oracle E-Business Suite 11i/R12 ?
If later then upgrading just apache is not certified (Just double check with Oracle Support)

Reply
Ahmed says May 10, 2010

Hi Atul,

Thnx for the reply.Its part of Oracle E-business Suite.

Reply
kumar says June 6, 2010

Dear Atul,
Can you help me to get document to configure SSL for java application in oracle application server 10.1.3.4.

Regards,
Kumar

Reply
Atul Kumar says June 7, 2010

@ Kumar,
Is this simple J2EE, SOA or ADF application ?

Reply
kumar says June 8, 2010

yes atul it is simple j2ee,SOA application.

Reply
arvind says November 7, 2010

Hi Atul,

Just correct me if I’m wrong somewhere….in 11i we can perform SSL configuration with either owm or with openssl.

Regards,
Arvind

Reply
Add Your Reply

Not found