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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 29

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 35

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 29

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.
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.


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 29

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DHCP server 6 68
Securing Access to Specific Folders 6 62
BgInfo help 5 110
Moving database to a shared server 7 37
Healthcare providers, insurance companies and other covered entities trust eFax Corporate to transmit their most sensitive documents. eFax Corporate can help your organization implement a HIPAA compliant cloud faxing solution.
There are many Password Managers (PM) out there to choose from. PM's can help with your password habits and routines, but they should not be a crutch you rely on too heavily. I also have an article for company/enterprise PM's.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

752 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