Error code: sec_error_bad_signature after accept certificate with Firefox

1,933 views
Skip to first unread message

philip.fennell

unread,
Dec 2, 2008, 4:29:35 AM12/2/08
to atomojo-users
Hello,

I've downloaded atomojo-server-xmldb-0.12.0.jar and installed it. When
I attempt to retrieve the service document with Firefox 3.0.4 over
HTTPS I'm asked if I want to accept the certificate and go through the
usual steps of setting-up an exception for the certificate but after
that I still cannot retrieve the document. I still set the same
response (see below).

If I do the same with Safari it appears to work OK. Not that that
helps me much as I'm using the Mozilla XForms plug-in in Firefox. For
the time being I've set secure='false' in the sever.conf file.


Secure Connection Failed

An error occurred during a connection to localhost:8080.

Peer's certificate has an invalid signature.

(Error code: sec_error_bad_signature)

The page you are trying to view can not be shown because the
authenticity of the

received data could not be verified.

* Please contact the web site owners to inform them of this
problem.


Regards

Philip Fennell

Alex Milowski

unread,
Dec 2, 2008, 10:46:45 AM12/2/08
to atomoj...@googlegroups.com
On Tue, Dec 2, 2008 at 1:29 AM, philip.fennell <philip....@gmail.com> wrote:
>
> Hello,
>
> I've downloaded atomojo-server-xmldb-0.12.0.jar and installed it. When
> I attempt to retrieve the service document with Firefox 3.0.4 over
> HTTPS I'm asked if I want to accept the certificate and go through the
> usual steps of setting-up an exception for the certificate but after
> that I still cannot retrieve the document. I still set the same
> response (see below).

The default keystore uses a self-signed certificate. You'll have to either
disable https or get a real certificate.

You should be able to setup an exception in Firefox. I've had to go into
'preferences' in firefox to get that setup correctly:

1. Open 'Preferences'.
2. Go to 'Advanced' and then the 'Encryption' tab.
3. Click on 'View Certificates'.
4. Click on 'Add Exception'.
5. Type in the URL of your server and click on 'Get Certificate'.
6. Click on 'Confirm Security Exception'.

This procedure with the latest version works for me on the Mac in Firefox 3.0.4.


--Alex Milowski

Reply all
Reply to author
Forward
0 new messages