Javax.net.ssl Sockets And OKing Self-signed Certificates

Sep 6, 2007

I would dearly love a server with a "self-signed certificate" to be
accessible by my javax.net.ssl.startHandshake() but it seems to consistently
crap-out with a failure :-( Look I've only ever tested the client code
(please see below) with a https server (just to see if everything was
kosher) and it maybe something I'm doing wrong. I just couldn't find
anything in the handshake listener that controlled self-cert. Code:

View 2 Replies


ADVERTISEMENT

Certificates And Popups

Jul 23, 2005

Just wondering, if one provides/uses a certificate on the website, does that
solve the problem with blocked popups?

I am building an application in PHP/JavaScript that will be used only on our
clients' computers, but new clients are added frequently.....

View 2 Replies View Related

Sockets

Jan 18, 2006

Is there such thing as Javascript sockets? I mean, I need it to connect to see if the username is available to an external source - if you get me.

If they do exist, could someone give me an example or point me in the correct direction please?

View 8 Replies View Related

Sockets And Javascript

Jun 10, 2006

I know Javascript has no methods to directly open sockets. Since that
is not possible, I was wondering if anyone knows of a Java applet
somewhere that does this that can can be instantiated in JS. This would
be running on a Windows client under IE or Firefox.

View 5 Replies View Related

Signed Javascript?

Jul 23, 2005

I just wonder if anybody can help me with this:

I need to give my javascript code some extended permissions for disk access on client's machine, and as i understand i need to sign this js. Can someone tell me how to sign js to work with with ie? Can i put my js file into jar and use jarsigner for that? And by the way, would it give me disk access permissions?

I need that for the following: our client gets a cd from us with some mp3 files. When they log onto our web site, they see some links:

eg <a href="file:///e:/resource/file.mp3"><a/>

pointing to the files in their cd, so when they click on a link, that file should start playing.

Or is there another way to access client's disk from a web page for a task like described?

View 12 Replies View Related

Signed Javascript In IE

Nov 3, 2005

I am writing a Javascript which print a page without prompting the
print dialog when the page is loaded. However, there is a warning box
prompted out because I am requesting the privilege of client's
computer. But my boss doesn't want to lower the security settings and
doesn't want to see the prompt dialog. I am wonder that signing the
javascript can solve the problem or not. Code:

View 2 Replies View Related

How To Ignore The Signed Bit?

Jan 22, 2006

I have an num -569360386, and turn it into hex format.
I use toString(16),I get -21efc002.

But how can get 0xDE103FFE,which is to ignore the highest bit as the
signed bit?

View 11 Replies View Related

Changing Login Link To Logout When Signed In?

Jun 22, 2011

i have a "customer login" link in my header for customers to login(obviously), when they login i want the link to change to "logout", any ideas on how to do this as i don't have a clue.

not good at javascript at all.

the link to my website is [URL]

test login info if required:
user: test@nandahosting.co.uk
password: password

View 2 Replies View Related

AJAX :: Web Sockets Connection - Error: "INVALID_STATE_ERR: DOM Exception 11"

Jun 10, 2010

Ive tried several approaches and even copy/pasted from [URL] Im using Google Chrome 5.0.375.70 beta and the error is always the same: Error: INVALID_STATE_ERR: DOM Exception 11 when debugging the client side I see the readyState is always 0 (connecting), no other error is shown. The server is set to output anything that it receives and in this case it doesnt seem to be getting anything. Checked firewalls and that shouldnt be a problem. Its worth noticing that one time it did connect, and I was able to "chat" with the server, refreshed the browser and never again, restarted the server and nothing. I havent made any change in the code prior to the refresh so really dont know what could be it...

View 1 Replies View Related

Use File From Signed Jar File In JavaScript Tag With PHP?

Feb 16, 2009

Technology: - We are using Apache Web Server, PHP, and Java Script on Windows XP. We have created a signed jar with the help of following steps.

Step 1:- Download NSS and NSPR tool
Step 2:- Setup the tool in C:
ss-3.10

[code]....

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved