Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #10485 > unrolled thread

TLS 1.2

Started bydenisebienemann@gmail.com
First post2017-04-24 11:11 -0700
Last post2017-04-27 10:30 +0200
Articles 9 — 6 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  TLS 1.2 denisebienemann@gmail.com - 2017-04-24 11:11 -0700
    Re: TLS 1.2 Frans Wauters <info@wautersit.com> - 2017-04-24 15:37 -0700
    Re: TLS 1.2 denisebienemann@gmail.com - 2017-04-26 16:34 -0700
      Re: TLS 1.2 jj.java@gmail.com - 2017-04-26 18:49 -0700
      Re: TLS 1.2 "Jamal" <noooospam@example.com> - 2017-04-26 22:20 -0400
        Re: TLS 1.2 jj.java@gmail.com - 2017-04-26 20:06 -0700
          Re: TLS 1.2 denisebienemann@gmail.com - 2017-05-15 12:54 -0700
            Re: TLS 1.2 "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-05-16 08:21 +0200
      Re: TLS 1.2 nk <n.kolb@aon.at> - 2017-04-27 10:30 +0200

#10485 — TLS 1.2

Fromdenisebienemann@gmail.com
Date2017-04-24 11:11 -0700
SubjectTLS 1.2
Message-ID<e07fd820-51ab-495c-9da9-56b68db09fd2@googlegroups.com>
Hello, I'm wondering if anyone can help answer the following question:
Is VO able to work with TLS 1.2?

A few years ago I was able to figure out a way to get emails working with TLS but so far haven't found a way to use TLS 1.2 to a call to a 3rd Party (i.e. PayPal).
If anyone has any answers/suggestions, I would appreciate it very much.

[toc] | [next] | [standalone]


#10487

FromFrans Wauters <info@wautersit.com>
Date2017-04-24 15:37 -0700
Message-ID<48da72dc-f027-4b73-a59c-9794d0dd4f0c@googlegroups.com>
In reply to#10485
Hi,

I think you should enforce this by the operating system. There are registry settings you could try?

https://technet.microsoft.com/en-us/library/dn786418.aspx

Regards,
Frans

[toc] | [prev] | [next] | [standalone]


#10506

Fromdenisebienemann@gmail.com
Date2017-04-26 16:34 -0700
Message-ID<e5cfc067-0f66-492e-9ae3-d1c0eabd9595@googlegroups.com>
In reply to#10485
Hi, thanks for offering a suggestion.
One of my co-workers has Windows 10 which has TLS enabled by default.
He entered the following URL in a browser:
    https://tlstest.paypal.com
It successfully returned "PayPal_Connection_OK"
He then tried some registry setting changes from the link you suggested.  After that he tried the URL again and got an error.
Therefore, we feel that we were making the suggested changes correctly (although don't think was necessary)

I have windows 8.1 and I also successfully get "PayPal_Connection_OK" when I enter that URL.

However, we still can't get PayPal (using their SDK) to work thru VO.
I think what we really need is a way to force TLS 1.2 thru VO.
When I added the following line of code in one of our vb.net applications, our call to PayPal then worked.
    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
I'm wondering if there is some way in VO to make the same kind of call.

[toc] | [prev] | [next] | [standalone]


#10507

Fromjj.java@gmail.com
Date2017-04-26 18:49 -0700
Message-ID<b7d13d72-3076-4f88-a01f-7b9cecb1358a@googlegroups.com>
In reply to#10506
Hey Denise!

"Lynn" is driving me nuts talking about this TLS and paypal crap, so I want to try and help. I'm vaguely familiar with how you are connecting through the payflowpro sdk. Could you share a few lines of the VO code you are using to connect to that service? Seeing something similar to how what you showed for the "ServicePointManager" class in your VB.NET example . I'm wondering what methodology you're using in VO to do the same.

Hoping I can be of some assistance,
Josh

[toc] | [prev] | [next] | [standalone]


#10508

From"Jamal" <noooospam@example.com>
Date2017-04-26 22:20 -0400
Message-ID<odrkh6$cv1$1@news.albasani.net>
In reply to#10506
Why not just create a COM visible class in VB.NET or C# and call it from VO?

There were some discussions on this newsgroup and some white papers on how 
to write com visible classes in .NET.

Jamal

wrote in message 
news:e5cfc067-0f66-492e-9ae3-d1c0eabd9595@googlegroups.com...

Hi, thanks for offering a suggestion.
One of my co-workers has Windows 10 which has TLS enabled by default.
He entered the following URL in a browser:
    https://tlstest.paypal.com
It successfully returned "PayPal_Connection_OK"
He then tried some registry setting changes from the link you suggested. 
After that he tried the URL again and got an error.
Therefore, we feel that we were making the suggested changes correctly 
(although don't think was necessary)

I have windows 8.1 and I also successfully get "PayPal_Connection_OK" when I 
enter that URL.

However, we still can't get PayPal (using their SDK) to work thru VO.
I think what we really need is a way to force TLS 1.2 thru VO.
When I added the following line of code in one of our vb.net applications, 
our call to PayPal then worked.
    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
I'm wondering if there is some way in VO to make the same kind of call. 

[toc] | [prev] | [next] | [standalone]


#10509

Fromjj.java@gmail.com
Date2017-04-26 20:06 -0700
Message-ID<434c497e-5853-4241-9d64-5866a1232ee8@googlegroups.com>
In reply to#10508
Here's a link to an example tutorial of what the previous poster is talking about: http://www.elbe-data.se/sv/VOgrafx/visualobjectsandcsharp.pdf

I don't have the proper IDE to run the VO tests so I can't try it myself. But it looks like it could be a great solution if you can. I know it is targeting C#, but VB.NET would be very similar to set up. If you have working VB.NET code, it can be leveraged by making it available to your VO program using that methodology.

I've explained some more of the idea to Lynn and she will try to talk with you tomorrow more about it.

Happy coding!

-Josh

[toc] | [prev] | [next] | [standalone]


#10590

Fromdenisebienemann@gmail.com
Date2017-05-15 12:54 -0700
Message-ID<96880253-d2eb-4d43-88f6-4fbb28ee89cf@googlegroups.com>
In reply to#10509
I'm finally able to get back to this issue.
I am trying the suggestion per the http://www.elbe-data.se/sv/VOgrafx/visualobjectsandcsharp.pdf.
I decided to do the same exact example just to rule out any other issues and to make sure I understand all of this.
When I try to compile, I get the following warning errors:
  SUM is not a method of class OLEAUTOOBJECT
  PRODUCT is not a method of class OLEAUTOOBJECT
I'm guessing that is because of the late bound, so not too concerned about that yet.

However, when I try running it and step thru debug, the code returns False on the  “If o:fInit” command.  
So it doesn’t even get to the calling of the Sum and Product functions.
Does anyone have any thoughts on what I might be missing here?

[toc] | [prev] | [next] | [standalone]


#10593

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2017-05-16 08:21 +0200
Message-ID<envk3uFhs6iU1@mid.individual.net>
In reply to#10590
Hi Denise,

maybe you have some problems with the manifests. Please pay attention
that the version numbers are correct between your manifest and your
executable.

Wolfgang

denisebienemann@gmail.com wrote:

> I'm finally able to get back to this issue.
> I am trying the suggestion per the
> http://www.elbe-data.se/sv/VOgrafx/visualobjectsandcsharp.pdf.  I
> decided to do the same exact example just to rule out any other
> issues and to make sure I understand all of this.  When I try to
> compile, I get the following warning errors:    SUM is not a method
> of class OLEAUTOOBJECT   PRODUCT is not a method of class
> OLEAUTOOBJECT I'm guessing that is because of the late bound, so not
> too concerned about that yet.
> 
> However, when I try running it and step thru debug, the code returns
> False on the  “If o:fInit” command.  So it doesn’t even get to
> the calling of the Sum and Product functions.  Does anyone have any
> thoughts on what I might be missing here?



-- 

[toc] | [prev] | [next] | [standalone]


#10511

Fromnk <n.kolb@aon.at>
Date2017-04-27 10:30 +0200
Message-ID<odsa70$17g9$1@gioia.aioe.org>
In reply to#10506
Hi Denise,

what will you really do? Is it AWS (Amazon Web Service - Cloud) or is it 
a WebService? Second case there should be a WSDL-file which describe 
your request and I am sure I can help you. I can get tlstest.paypal.com 
without any problems with VO. If you have more information send me a 
mail (n dot kolb at aon dot at)

Norbert




Am 27.04.2017 um 01:34 schrieb denisebienemann@gmail.com:
> Hi, thanks for offering a suggestion.
> One of my co-workers has Windows 10 which has TLS enabled by default.
> He entered the following URL in a browser:
>     https://tlstest.paypal.com
> It successfully returned "PayPal_Connection_OK"
> He then tried some registry setting changes from the link you suggested.  After that he tried the URL again and got an error.
> Therefore, we feel that we were making the suggested changes correctly (although don't think was necessary)
>
> I have windows 8.1 and I also successfully get "PayPal_Connection_OK" when I enter that URL.
>
> However, we still can't get PayPal (using their SDK) to work thru VO.
> I think what we really need is a way to force TLS 1.2 thru VO.
> When I added the following line of code in one of our vb.net applications, our call to PayPal then worked.
>     ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
> I'm wondering if there is some way in VO to make the same kind of call.
>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web