How can I create a SSL certificate from windows 2003 domain controler

Posted on 2014-09-05
Last Modified: 2014-09-22
I have an Oracle OID server got synchronization problem with the active directory.  I got the below message when I tried to bind the server:

[orcloid@deimos-11G oid1wallet]ldapbind -h -p 6636 -D '' -w .g0rg0n. -U 2 -W file://u2/oracle/oidware/asinst_1/OID/admin/oid3wallet -P "h3r4kl3s"
Cannot connect to the LDAP server
[orcloid@deimos-11G oid1wallet]ldapbind -h -p 636 -D '' -w .g0rg0n. -U 2 -W file://u2/oracle/oidware/asinst_1/OID/admin/oid3wallet -P "h3r4kl3s"
 SSL handshake failed
[orcloid@deimos-11G oid1wallet]ldapbind -h -p 636 -D "" -w .g0rg0n. -U 2 -W file://u2/oracle/oidware/asinst_1/OID/admin/oid3wallet -P "h3r4kl3s"
 SSL handshake failed
[orcloid@deimos-11G oid1wallet]

Oracle Support verified it's the domain controller's problem, she asked me to export the certificate from domain controller and import it into the oid server, I have a certificate server setup on the domain controller by my predessor. How could I export the certificate from the server and finish importing. Do I need export a private key or public key?

Question by:Jason Yu
  • 3
  • 3
LVL 28

Assisted Solution

becraig earned 375 total points
ID: 40306978
I cannot tell you clearly if you need the private key for the oracle app, but you can export two files
Public Key and the key pair.

Open mmc.exe on the DC - Add remove snap in - Certificates - local computer - expand personal - find the cert in the right pane and right click and export.

For private key, when you export, include private key and complete the wizar

For public key only do not select the export private key button and complete the wizard.

I would suggest importing only the public key first and testing.

If you end up needing the private key, then install using the pfx file created when you used the private key option.

To import:
On the OID server
Open mmc.exe on the DC - Add remove snap in - Certificates - local computer - expand personal - right click and import - point to the .cer file you created from above and test.

If that fails then redo the steps and above and point to the .pfx file.
LVL 34

Assisted Solution

by:Seth Simmons
Seth Simmons earned 125 total points
ID: 40306994
importing the cert through mmc console is not an option since the oracle server is obviously linux
LVL 28

Accepted Solution

becraig earned 375 total points
ID: 40307003
So true Seth I missed that, thanks.

Here are the steps for porting both files to Linux.
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.


Author Comment

by:Jason Yu
ID: 40307051
thank you guys very much, yes,the oid server is linux, I am gonna try it now.

Author Comment

by:Jason Yu
ID: 40310634
I successfully imported the certificate to the wallet. I tested the ldapbind to the first domain controller successfully.

[orcloid@deimos-11G oid3wallet]ldapbind -h -p 636 -D "" -w .g0rg0n. -U 2 -W file://u2/oracle/oidware/asinst_1/OID/admin/oid3wallet -P "h3r4kl3s"
bind successful

However, when I use the same command to test the virtual link on the load balancer, it erred out.

[orcloid@deimos-11G oid3wallet]ldapbind -h -p 6636 -D "" -w .g0rg0n. -U 2 -W file://u2/oracle/oidware/asinst_1/OID/admin/oid3wallet -P "h3r4kl3s"
 SSL handshake failed

I am uploading the load balancer copy screen
LVL 28

Assisted Solution

becraig earned 375 total points
ID: 40310716
This looks to be an issue where the certificate needs to be installed on the load balancer, I am not sure if the oracle folks or your network guy can walk you through this one.

Author Comment

by:Jason Yu
ID: 40337453
I got it resolved finally. It proved the certificate on the OID expired too, I have to renew the certificate on the OID too.

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

By default, Carbonite Server Backup manages your encryption key for you using Advanced Encryption Standard (AES) 128-bit encryption. If you choose to manage your private encryption key, your backups will be encrypted using AES 256-bit encryption.
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now