Re: [U2] Accessing an https:// server with callHTTP

2012-10-21 Thread Kevin King
Just guessing but I would think that would be from a self-signed
certificate without having the local CA cert in the chain.

On Sat, Oct 20, 2012 at 5:04 PM, David A. Green dgr...@dagconsulting.comwrote:

 I get a lot of logging information, maybe you need to bump up the log
 level.

 I'm glad you're having success, here is where I'm having an issue:

 Peer certificate not verified.
 Reason: 20, unable to get local issuer certificate

 I'm still researching this one, not sure what a peer certificate is, or how
 to create one that works.

 David A. Green
 (480) 813-1725
 DAG Consulting


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
 Sent: Saturday, October 20, 2012 3:55 PM
 To: U2 Users List
 Subject: Re: [U2] Accessing an https:// server with callHTTP

 I do have the logging enabled, but it doesn't log anything up to the point
 of the submit request.  I finally got it working with some combination of
 things that as of yet I am uncertain of why it works.  But I think it's due
 to the name of the certificate.  Once I named the certificate with a .PEM
 extension and reloaded the cert, things began working.

 On Sat, Oct 20, 2012 at 11:38 AM, David A. Green
 dgr...@dagconsulting.comwrote:

  Kevin my UniBasic is the client.  Have you this line in your code?
 
  protocolLogging(_PH_\HTTP.LOG.FILE, ON, 10)
 
  it might provide some important clues.
 
  David A. Green
  (480) 813-1725
  DAG Consulting
 
  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org
  [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
  Sent: Friday, October 19, 2012 8:55 PM
  To: U2 Users List
  Subject: Re: [U2] Accessing an https:// server with callHTTP
 
  David, are you hosting an HTTPS server with this, or is this a client
  of an HTTPS connection?  Just wondering about the 2 in the below context.
 
  On Fri, Oct 19, 2012 at 5:36 PM, David A. Green
  dgr...@dagconsulting.comwrote:
 
   I just used this and it worked for me:
  
   addCertificate(_PH_\HTTP.CERT, 2, 1, 1, SEC.CONTEXT)
  
   David A. Green
   (480) 813-1725
   DAG Consulting
  
  
   -Original Message-
   From: u2-users-boun...@listserver.u2ug.org
   [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin
   King
   Sent: Friday, October 19, 2012 11:07 AM
   To: U2 Users List
   Subject: [U2] Accessing an https:// server with callHTTP
  
   Does anyone have a working sample of communicating with an https
   server from Unidata 7.1 using callHTTP?  We've pulled the
   certificate and put it on the server, but every time we try to use
   addCertificate() we get error
   2: Certificate file could not be opened or directory does not exist.
Must be missing something simple...
   ___
   U2-Users mailing list
   U2-Users@listserver.u2ug.org
   http://listserver.u2ug.org/mailman/listinfo/u2-users
  
   ___
   U2-Users mailing list
   U2-Users@listserver.u2ug.org
   http://listserver.u2ug.org/mailman/listinfo/u2-users
  
  ___
  U2-Users mailing list
  U2-Users@listserver.u2ug.org
  http://listserver.u2ug.org/mailman/listinfo/u2-users
 
  ___
  U2-Users mailing list
  U2-Users@listserver.u2ug.org
  http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Accessing an https:// server with callHTTP

2012-10-20 Thread David A. Green
Kevin my UniBasic is the client.  Have you this line in your code?

protocolLogging(_PH_\HTTP.LOG.FILE, ON, 10)

it might provide some important clues.

David A. Green
(480) 813-1725
DAG Consulting

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
Sent: Friday, October 19, 2012 8:55 PM
To: U2 Users List
Subject: Re: [U2] Accessing an https:// server with callHTTP

David, are you hosting an HTTPS server with this, or is this a client of an
HTTPS connection?  Just wondering about the 2 in the below context.

On Fri, Oct 19, 2012 at 5:36 PM, David A. Green
dgr...@dagconsulting.comwrote:

 I just used this and it worked for me:

 addCertificate(_PH_\HTTP.CERT, 2, 1, 1, SEC.CONTEXT)

 David A. Green
 (480) 813-1725
 DAG Consulting


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
 Sent: Friday, October 19, 2012 11:07 AM
 To: U2 Users List
 Subject: [U2] Accessing an https:// server with callHTTP

 Does anyone have a working sample of communicating with an https 
 server from Unidata 7.1 using callHTTP?  We've pulled the certificate 
 and put it on the server, but every time we try to use 
 addCertificate() we get error
 2: Certificate file could not be opened or directory does not exist.
  Must be missing something simple...
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Accessing an https:// server with callHTTP

2012-10-20 Thread Kevin King
I do have the logging enabled, but it doesn't log anything up to the point
of the submit request.  I finally got it working with some combination of
things that as of yet I am uncertain of why it works.  But I think it's due
to the name of the certificate.  Once I named the certificate with a .PEM
extension and reloaded the cert, things began working.

On Sat, Oct 20, 2012 at 11:38 AM, David A. Green
dgr...@dagconsulting.comwrote:

 Kevin my UniBasic is the client.  Have you this line in your code?

 protocolLogging(_PH_\HTTP.LOG.FILE, ON, 10)

 it might provide some important clues.

 David A. Green
 (480) 813-1725
 DAG Consulting

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
 Sent: Friday, October 19, 2012 8:55 PM
 To: U2 Users List
 Subject: Re: [U2] Accessing an https:// server with callHTTP

 David, are you hosting an HTTPS server with this, or is this a client of an
 HTTPS connection?  Just wondering about the 2 in the below context.

 On Fri, Oct 19, 2012 at 5:36 PM, David A. Green
 dgr...@dagconsulting.comwrote:

  I just used this and it worked for me:
 
  addCertificate(_PH_\HTTP.CERT, 2, 1, 1, SEC.CONTEXT)
 
  David A. Green
  (480) 813-1725
  DAG Consulting
 
 
  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org
  [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
  Sent: Friday, October 19, 2012 11:07 AM
  To: U2 Users List
  Subject: [U2] Accessing an https:// server with callHTTP
 
  Does anyone have a working sample of communicating with an https
  server from Unidata 7.1 using callHTTP?  We've pulled the certificate
  and put it on the server, but every time we try to use
  addCertificate() we get error
  2: Certificate file could not be opened or directory does not exist.
   Must be missing something simple...
  ___
  U2-Users mailing list
  U2-Users@listserver.u2ug.org
  http://listserver.u2ug.org/mailman/listinfo/u2-users
 
  ___
  U2-Users mailing list
  U2-Users@listserver.u2ug.org
  http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Accessing an https:// server with callHTTP

2012-10-20 Thread David A. Green
I get a lot of logging information, maybe you need to bump up the log level.

I'm glad you're having success, here is where I'm having an issue:

Peer certificate not verified.
Reason: 20, unable to get local issuer certificate

I'm still researching this one, not sure what a peer certificate is, or how
to create one that works.

David A. Green
(480) 813-1725
DAG Consulting


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
Sent: Saturday, October 20, 2012 3:55 PM
To: U2 Users List
Subject: Re: [U2] Accessing an https:// server with callHTTP

I do have the logging enabled, but it doesn't log anything up to the point
of the submit request.  I finally got it working with some combination of
things that as of yet I am uncertain of why it works.  But I think it's due
to the name of the certificate.  Once I named the certificate with a .PEM
extension and reloaded the cert, things began working.

On Sat, Oct 20, 2012 at 11:38 AM, David A. Green
dgr...@dagconsulting.comwrote:

 Kevin my UniBasic is the client.  Have you this line in your code?

 protocolLogging(_PH_\HTTP.LOG.FILE, ON, 10)

 it might provide some important clues.

 David A. Green
 (480) 813-1725
 DAG Consulting

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
 Sent: Friday, October 19, 2012 8:55 PM
 To: U2 Users List
 Subject: Re: [U2] Accessing an https:// server with callHTTP

 David, are you hosting an HTTPS server with this, or is this a client 
 of an HTTPS connection?  Just wondering about the 2 in the below context.

 On Fri, Oct 19, 2012 at 5:36 PM, David A. Green
 dgr...@dagconsulting.comwrote:

  I just used this and it worked for me:
 
  addCertificate(_PH_\HTTP.CERT, 2, 1, 1, SEC.CONTEXT)
 
  David A. Green
  (480) 813-1725
  DAG Consulting
 
 
  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org
  [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin 
  King
  Sent: Friday, October 19, 2012 11:07 AM
  To: U2 Users List
  Subject: [U2] Accessing an https:// server with callHTTP
 
  Does anyone have a working sample of communicating with an https 
  server from Unidata 7.1 using callHTTP?  We've pulled the 
  certificate and put it on the server, but every time we try to use
  addCertificate() we get error
  2: Certificate file could not be opened or directory does not exist.
   Must be missing something simple...
  ___
  U2-Users mailing list
  U2-Users@listserver.u2ug.org
  http://listserver.u2ug.org/mailman/listinfo/u2-users
 
  ___
  U2-Users mailing list
  U2-Users@listserver.u2ug.org
  http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Accessing an https:// server with callHTTP

2012-10-19 Thread Kevin King
Does anyone have a working sample of communicating with an https server
from Unidata 7.1 using callHTTP?  We've pulled the certificate and put it
on the server, but every time we try to use addCertificate() we get error
2: Certificate file could not be opened or directory does not exist.
 Must be missing something simple...
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Accessing an https:// server with callHTTP

2012-10-19 Thread Wolfgang Huettinger
Did you add

addAuthenticationRule() with the option path?

See Universe Security Feature manual Page 1-15 and 1-16
http://www.rocketsoftware.com/u2/products/universe/resources/technical-manuals/universe-v11r1/security-v11r1.pdf/view

There is also the possibility you have a too high security setting while your 
certificate does not fulfill that level (like not verified)


Wolfgang Huettinger, MSc Math
Junior Technical Developer
Campana Systems Inc.
www.campana.com
Office: +1.800.463.2688 x286




-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
Sent: October-19-12 2:07 PM
To: U2 Users List
Subject: [U2] Accessing an https:// server with callHTTP

Does anyone have a working sample of communicating with an https server from 
Unidata 7.1 using callHTTP?  We've pulled the certificate and put it on the 
server, but every time we try to use addCertificate() we get error
2: Certificate file could not be opened or directory does not exist.
 Must be missing something simple...
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

This email and any attachments may contain confidential and privileged
information which is not subject to public disclosure. For more information
about Campana's privacy policy, or to read this email disclaimer in French,
read our Privacy Policy at http://www.campana.com/privacy.asp.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Accessing an https:// server with callHTTP

2012-10-19 Thread Kevin King
I did, but I couldn't get any of the options to change the outcome; it
still couldn't find the cert with the relative path, default path, absolute
path... nothing.  Would love to see some example code of how some of this
is to be used, as there are no examples in the docs that I could find.

On Fri, Oct 19, 2012 at 2:04 PM, Wolfgang Huettinger w...@campana.comwrote:

 Did you add

 addAuthenticationRule() with the option path?

 See Universe Security Feature manual Page 1-15 and 1-16

 http://www.rocketsoftware.com/u2/products/universe/resources/technical-manuals/universe-v11r1/security-v11r1.pdf/view

 There is also the possibility you have a too high security setting while
 your certificate does not fulfill that level (like not verified)


 Wolfgang Huettinger, MSc Math
 Junior Technical Developer
 Campana Systems Inc.
 www.campana.com
 Office: +1.800.463.2688 x286




 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:
 u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
 Sent: October-19-12 2:07 PM
 To: U2 Users List
 Subject: [U2] Accessing an https:// server with callHTTP

 Does anyone have a working sample of communicating with an https server
 from Unidata 7.1 using callHTTP?  We've pulled the certificate and put it
 on the server, but every time we try to use addCertificate() we get error
 2: Certificate file could not be opened or directory does not exist.
  Must be missing something simple...
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

 This email and any attachments may contain confidential and privileged
 information which is not subject to public disclosure. For more information
 about Campana's privacy policy, or to read this email disclaimer in French,
 read our Privacy Policy at http://www.campana.com/privacy.asp.
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Accessing an https:// server with callHTTP

2012-10-19 Thread Kevin King
What does this mean? *There is also the possibility you have a too high
security setting while your certificate does not fulfill that level (like
not verified)*  It is a Verisign verified certificate.

On Fri, Oct 19, 2012 at 2:04 PM, Wolfgang Huettinger w...@campana.comwrote:

 Did you add

 addAuthenticationRule() with the option path?

 See Universe Security Feature manual Page 1-15 and 1-16

 http://www.rocketsoftware.com/u2/products/universe/resources/technical-manuals/universe-v11r1/security-v11r1.pdf/view

 There is also the possibility you have a too high security setting while
 your certificate does not fulfill that level (like not verified)


 Wolfgang Huettinger, MSc Math
 Junior Technical Developer
 Campana Systems Inc.
 www.campana.com
 Office: +1.800.463.2688 x286




 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:
 u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
 Sent: October-19-12 2:07 PM
 To: U2 Users List
 Subject: [U2] Accessing an https:// server with callHTTP

 Does anyone have a working sample of communicating with an https server
 from Unidata 7.1 using callHTTP?  We've pulled the certificate and put it
 on the server, but every time we try to use addCertificate() we get error
 2: Certificate file could not be opened or directory does not exist.
  Must be missing something simple...
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

 This email and any attachments may contain confidential and privileged
 information which is not subject to public disclosure. For more information
 about Campana's privacy policy, or to read this email disclaimer in French,
 read our Privacy Policy at http://www.campana.com/privacy.asp.
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Accessing an https:// server with callHTTP

2012-10-19 Thread David A. Green
I just used this and it worked for me:

addCertificate(_PH_\HTTP.CERT, 2, 1, 1, SEC.CONTEXT)

David A. Green
(480) 813-1725
DAG Consulting


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
Sent: Friday, October 19, 2012 11:07 AM
To: U2 Users List
Subject: [U2] Accessing an https:// server with callHTTP

Does anyone have a working sample of communicating with an https server from
Unidata 7.1 using callHTTP?  We've pulled the certificate and put it on the
server, but every time we try to use addCertificate() we get error
2: Certificate file could not be opened or directory does not exist.
 Must be missing something simple...
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Accessing an https:// server with callHTTP

2012-10-19 Thread Kevin King
I wonder if there's any restriction on the name.  Let me try some things.
 Thanks, David.

On Fri, Oct 19, 2012 at 5:36 PM, David A. Green dgr...@dagconsulting.comwrote:

 I just used this and it worked for me:

 addCertificate(_PH_\HTTP.CERT, 2, 1, 1, SEC.CONTEXT)

 David A. Green
 (480) 813-1725
 DAG Consulting


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
 Sent: Friday, October 19, 2012 11:07 AM
 To: U2 Users List
 Subject: [U2] Accessing an https:// server with callHTTP

 Does anyone have a working sample of communicating with an https server
 from
 Unidata 7.1 using callHTTP?  We've pulled the certificate and put it on the
 server, but every time we try to use addCertificate() we get error
 2: Certificate file could not be opened or directory does not exist.
  Must be missing something simple...
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Accessing an https:// server with callHTTP

2012-10-19 Thread Kevin King
David, are you hosting an HTTPS server with this, or is this a client of an
HTTPS connection?  Just wondering about the 2 in the below context.

On Fri, Oct 19, 2012 at 5:36 PM, David A. Green dgr...@dagconsulting.comwrote:

 I just used this and it worked for me:

 addCertificate(_PH_\HTTP.CERT, 2, 1, 1, SEC.CONTEXT)

 David A. Green
 (480) 813-1725
 DAG Consulting


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
 Sent: Friday, October 19, 2012 11:07 AM
 To: U2 Users List
 Subject: [U2] Accessing an https:// server with callHTTP

 Does anyone have a working sample of communicating with an https server
 from
 Unidata 7.1 using callHTTP?  We've pulled the certificate and put it on the
 server, but every time we try to use addCertificate() we get error
 2: Certificate file could not be opened or directory does not exist.
  Must be missing something simple...
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users