Re: OpenSSL and OCS and Windows 2003 CA



On 14 Nov, 09:27, "S. Pidgorny <MVP>" <slavi...@xxxxxxxxx> wrote:
I reckon everything may be okay with the certificate format, and the error
message is self-explanatory: a certificate for one FQDN is expected, for
another is presnted. Unfortunately you don't give enough information that
allows to tell what is the FQDN in question and its place in your
infrastructure.

I'd recommend using s_client (a part of OpenSSL suite) for SSL handshake
verification.

--
Svyatoslav Pidgorny, MS MVP - Security, MCSE
-= F1 is the key =-

*http://sl.mvps.org*http://msmvps.com/blogs/sp*

"BoNes" <eoinm...@xxxxxxxxx> wrote in message

news:1194954318.174198.118600@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I am trying to enable TLS connectivity between my application which
uses a 3rd party app which requires OpenSSL to Office Communicator
Server (OCS).

I suppose the applications on the platforms do not matter at this
stage- I have a CA on my Domain Controller and the OCS server uses
this when it applies its certificates when being configured.

So on my application/platform I issued a certificate from the same CA
(tried exporting, creating,etc,etc all methods) , converted the PFX to
PEM format for OpenSSL using the "openssl pkcs12 -in X:\dir\certA.pfx -
out X:\dir\certA.pem -nodes" to do this.

I apply this certificate to the machine with my application, it is
read in and loaded and added to the trusted CA via the 3rd party API's
fine.

When I try and enable TLS I get handshaking (Server/Client Hello sent)
but it then suddenly terminates. The error I am getting is on my
applications server and not the OCS machine. The logs (Wireshark /OCS
logger) tell me
"The peer certificate does not contain a matching FQDN"

I have tried all I know in creating these certificates but no joy same
error every time.
I have tried:
Exporting the actual certificate from OCS
A new certificate from the same CA
Reused the same certificate

Is the conversion incorrect perhaps, any ideas/suggestions would be
gratefully appreciated

Regards

Thanks for that, I will give it a go. Here is the certificate on the
peer (application server) maybe you will spot something in there that
I cannot.
Again many thanks for the advice. I have deleted sections because I am
unsure of how smart it is to post a certificate (even one I generated
for tests) online is.

Bag Attributes
1.3.6.1.4.1.311.17.2: <No Values>
localKeyID: 01 00 00 00
Microsoft CSP Name: Microsoft RSA SChannel Cryptographic Provider
friendlyName: <deleted by me>
Key Attributes
X509v3 Key Usage: 10
-----BEGIN RSA PRIVATE KEY-----

<deleted by me>

-----END RSA PRIVATE KEY-----
Bag Attributes
localKeyID: 01 00 00 00
friendlyName: sipserver14
subject=/C=IE/ST=Connaught/L=Galway/O=nortel/OU=sip/
CN=ServerX.ocstwo.com
issuer=/DC=com/DC=ocstwo/CN=ocstwo
-----BEGIN CERTIFICATE-----

<deleted by me>

-----END CERTIFICATE-----


.



Relevant Pages

  • RE: FQDN
    ... > You must run CEICW and specify the FQDN that you will use to access the ... On the SBS 2003 Server open the Server Management console. ... Click the "Connect to the Internet" link. ... On the "Web Server Certificate" page, choose to create a new Web server ...
    (microsoft.public.windows.server.sbs)
  • RE: FQDN
    ... > You must run CEICW and specify the FQDN that you will use to access the ... On the SBS 2003 Server open the Server Management console. ... Click the "Connect to the Internet" link. ... On the "Web Server Certificate" page, choose to create a new Web server ...
    (microsoft.public.windows.server.sbs)
  • Re: New SBS2003 Premium no exteranl access to RWW/OWA
    ... generate a new certificate with the fqdn. ... Les Connor [SBS Community Member - SBS MVP] ... Contact the server ...
    (microsoft.public.windows.server.sbs)
  • Re: SSL on published SQL Server
    ... Now I need to buy another certificate for the FQDN. ... Let's say the SQL server runs on machine called dbserver. ... ISA server re-directs traffic to dbserver machine via publishing. ... Kevin says I need to install the same certificate on the ISA ...
    (microsoft.public.sqlserver.security)
  • Re: SSL with SharePoint on DMZ
    ... > internal and external access. ... > For internal access the certificate has the wrong FQDN ... > Has anyone ever set up a second virtual site pointing to ...
    (microsoft.public.sharepoint.portalserver)