validation issue with find-key.aspx

Hi

I tried to retrieve an activated key from the find_key.aspx page.

However I get the following error:

"The remote certificate is invalid according to the validation procedure""[WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.]"

is there something else to configure. I'm not to proficient with websites, so I may be missing something here. But according to the vb.net example page, all you need to do is set the LimeLM.APIKey, the version number and enter the customer email address.

Another question is why does this page have to have the version number hardcoded. Does that mean every version will require a separate page.

Hey Mark,

In your LimeLM.vb file the "post_url" line should read like the following:

Const post_url As String = "https://wyday.com/limelm/api/rest/"

If it does, and you still get that error, then there's a problem with the SSL certificates on your machine. Here's an article telling how to fix this: Troubleshooting ASP.NET - The remote certificate is invalid according to the validation procedure.

Or you can just remove the "s" in "https":

Const post_url As String = "http://wyday.com/limelm/api/rest/"
Another question is why does this page have to have the version number hardcoded. Does that mean every version will require a separate page.

The example hard codes the version id because it's simple to demonstrate the functionality to new users without having them jump through a lot of hoops. You can alter the page to have a drop-down (Product A, Product B, etc.) and then search for product keys for the user's choice.

I can't detect any problem with the server SSL certificate, however in the meantime using "http" works.