Go Back   Pro/Forums > ProCooling Technical Discussions > Snap Server / NAS / Storage Technical Goodies
Password
Register FAQ Members List Calendar Chat

Snap Server / NAS / Storage Technical Goodies The Home for Snap Server Hacking, Storage and NAS info. And NAS / Snap Classifides

Reply
Thread Tools
Unread 08-08-2007, 10:54 AM   #1
DCC1234
Cooling Neophyte
 
Join Date: Aug 2007
Location: MARYLAND
Posts: 16
Default How to fix expired SSL certificate in JVM

Does anybody know what is needed to modify the SSL certificate expiration date in the JVM?

Not sure if this helps, but, below, I have pasted my debug output for command: jvm license info
08/07/2007 20:09:31
0 Java Snaplet ID: 1048577, Key: 0-0-0
1 Java Snaplet ID: 1052673, Key: 0-0-0
Number of licensed Java Snaplets: 2

Thank you very much for any assistance. mw
DCC1234 is offline   Reply With Quote
Unread 08-08-2007, 11:16 AM   #2
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: How to fix expired SSL certificate in JVM

I have not found any info related to SSL.

The 3 keys (0-0-0) are for 40bit, 64bit, 128bit encryption. Do not know why the zeros are displayed. You should beable to create your own keys and do a cmd line to update the expired keys.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 08-08-2007, 12:20 PM   #3
DCC1234
Cooling Neophyte
 
Join Date: Aug 2007
Location: MARYLAND
Posts: 16
Default Re: How to fix expired SSL certificate in JVM

Thank you for the fast reply. I apologize if this is a neophyte question- but how would I create my own keys? What about the fact that the certifcate has expired?
DCC1234 is offline   Reply With Quote
Unread 08-08-2007, 05:20 PM   #4
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: How to fix expired SSL certificate in JVM

A 40 bit security key is 10 hexdec, 64bit is 16, where a 128bit is 32. Most cases the lower keys are a sub set of the larger 128bit key.

Quote:
jvm engine enable/disable
license {ADD/UPDATE/INFO} [{id} [{key-high-mid-low}]]
ssl on/off
There are sites that can generate these keys. https://www.grc.com/passwords.htmis one of them. You just need to parse it for your need.

Like I have said earlier I have not updated a SSL key, I do not use JVM on my servers. NOT RESPONSIBLE FOR WHAT MAY HAPPEN, Could work, Could also take out the original and have NO keys at all.

If I had to take a guess I think the cmd would be something like this:
jvm license update 1048577 Key-1C972FD1E0523228C5D16C6E94467382-1C972FD1E0523228-1C972FD1E0

If this works let me know and I will add it to FAQ's for all to find and use.

Look at FreeBSD Manual and see if there is a cmd to change the modified date. There are a lot of cmds that are not listed that works, mostly kernel cmds. These are not displayed when you use the ? in debug.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 08-08-2007, 05:45 PM   #5
DCC1234
Cooling Neophyte
 
Join Date: Aug 2007
Location: MARYLAND
Posts: 16
Re: How to fix expired SSL certificate in JVM

thanks, I called Adaptec and told them I would purchase a support contract if they had a way to edit the certificate details.

That got me into the tech support queue.

Eventually, a rep told me that there was no way to update the SSL certficate on the SNAP. I will write again if I find a way.
DCC1234 is offline   Reply With Quote
Unread 08-09-2007, 05:52 AM   #6
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: How to fix expired SSL certificate in JVM

Since Adaptec bought them out they have layed off most of the SnapOS guys. We seam to use more cmds than they do. Try the cmd I posted, or see if you can locate the file, buy using the std linux cmds to move around from dbug. The file structure is similar to any linux os.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 08-09-2007, 09:30 AM   #7
DCC1234
Cooling Neophyte
 
Join Date: Aug 2007
Location: MARYLAND
Posts: 16
Default Re: How to fix expired SSL certificate in JVM

A couple of these SNAP's are at client sites, so I can't expirement with them too much. Still, This weekend, I'm going to try to rename the SNAP, uninstall and reinstall JVM and see if a new certificate gets issued to the new server name, ideally with a new expiration date. Then, I'll rename the server back to the original name and hope for the best. Again, I'll post here if that works.
DCC1234 is offline   Reply With Quote
Unread 08-28-2007, 11:47 PM   #8
DCC1234
Cooling Neophyte
 
Join Date: Aug 2007
Location: MARYLAND
Posts: 16
Default Re: How to fix expired SSL certificate in JVM

The expiration on SSL only gets extended if you rename the snap
DCC1234 is offline   Reply With Quote
Unread 08-29-2007, 04:26 AM   #9
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: How to fix expired SSL certificate in JVM

How long does it extend it?
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 08-29-2007, 05:26 AM   #10
DCC1234
Cooling Neophyte
 
Join Date: Aug 2007
Location: MARYLAND
Posts: 16
Re: How to fix expired SSL certificate in JVM

Certificate got extended 2 years. This is what I did:

I disabled JAVA and renamed the SNAP/ reboot. Then re-enable JAVA- add SSL authentication and cert gets extended 2 years (with new name).

I tried the same procedure renaming the SNAP back to the old name but the certficiate expiration DID NOT get extended. I conclude from this that there is no way to extend the certificate expiration date unless you rename your SNAP.

I'm surprised that no one else has chimed in on this issue with a hack or work-around.
DCC1234 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:24 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
(C) 2005 ProCooling.com
If we in some way offend you, insult you or your people, screw your mom, beat up your dad, or poop on your porch... we're sorry... we were probably really drunk...
Oh and dont steal our content bitches! Don't give us a reason to pee in your open car window this summer...