|
Home > Archive > SQL Anywhere database > June 2005 > Using Web Service -xs https - can't get it to use certificate
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Using Web Service -xs https - can't get it to use certificate
|
|
| Tim Kovaleski 2005-06-17, 11:24 am |
| ASA 9.0.2.3144
Hello,
Step one of two is done. Got my mobilink service to use
encryption, now I am working on getting another app that
uses ASA web services.
I can hit the app using -xs http just fine. I then turn on
the security required checkbox under webservices in Sybase
Central. That forces connections to use https.
I am using gencert to make my certificates. With my mobilink
certificate I used ECC_TLS. I read in the documentation that
RSA needs to be used for https... so I used gencert to
create an RSA certificate.
Following the documentation, it says:
-xs
protocol(Certificate
=server- certificate;Certific
ate_Password=passwor
d;
...)
So I followed that:
-xs https
(certificate=c:\serv
er. crt;certificate_pass
word=sql)
When I go to start the service I get the following error:
Could not open/read file:
(certificate=c:\serv
er. crt;certificate_pass
word=sql)
Can anyone shed some light on what I am doing wrong?
Thanks!
Tim Kovaleski
| |
| Tim Kovaleski 2005-06-17, 11:24 am |
| Well my fault. It looks like the syntax is case sensitive!
I got it to fire up
> ASA 9.0.2.3144
>
> Hello,
>
> Step one of two is done. Got my mobilink service to use
> encryption, now I am working on getting another app that
> uses ASA web services.
>
> I can hit the app using -xs http just fine. I then turn on
> the security required checkbox under webservices in Sybase
> Central. That forces connections to use https.
>
> I am using gencert to make my certificates. With my
> mobilink certificate I used ECC_TLS. I read in the
> documentation that RSA needs to be used for https... so I
> used gencert to create an RSA certificate.
>
> Following the documentation, it says:
> -xs
> protocol(Certificate
=server-certificate
> ;Certificate_Passwor
d=password; ...)
>
> So I followed that:
> -xs https
> (certificate=c:\serv
er. crt;certificate_pass
word=sql)
> When I go to start the service I get the following error:
> Could not open/read file:
> (certificate=c:\serv
er. crt;certificate_pass
word=sql)
>
> Can anyone shed some light on what I am doing wrong?
> Thanks!
> Tim Kovaleski
| |
| Greg Fenton 2005-06-17, 1:23 pm |
| Tim Kovaleski wrote:
> Well my fault. It looks like the syntax is case sensitive!
Is this a case sensitive database?
Do you know which part of the configuration line is "case sensitive"?
I would expect the certificate_password
to be case sensitive regardless
of db sensitivity, but the configuration parameters should be case
insensitive regardless.
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
|
|
|
|
|