Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6835 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

I am trying to access secure environmental variables on a remote server by using the document() function. Does that make sense?

I am working with 2 servers. One of the servers authenticates users by certificate. If a user has a certificate and they access a page on the server with https, then a script can access certain variables for that user. I have a perl script that can create some xml for a user.

The other server holds the filemaker documents. I want to put a XSL document on this server that has the following code:

For some reason this won't work, even though it says it will in the CWP guide. I get the following error:

[color:green]The resource https://domain.edu/cgi-bin/rewards/certParams.cgi could not be loaded because of an unexpected error

(MCS-604)

Anyone have any ideas?

Thanks,

Moses

Edited by Guest
Posted

Thanks for your reply.

I definitely have valid xml coming out. I tested the xml by putting it in a separate, non-secure xml document and it loaded just fine with document(). When I try the https file, which is a cgi, I get the error message

[color:green]The resource could not be loaded because of an unexpected error

If I take the 's' off of https then the error goes away.

Posted

Ah, I see. Of course you have (e.g. the browser) has a certificate, but the server not, because the document() function is executed server-side.

That might result in the error because the .edu server first sends the certificate request, and document() does not know what to do with it.

Could a possible solution be to install a standard certificate on the .edu server?

Posted (edited)

I see what you mean. Putting a certificate on the server is not a solution because each user has their own individual and unique certificate. Perhaps there is no solution.

Thanks for your help,

Moses

Edited by Guest

This topic is 6835 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.