[Dataverse and Handle] Encrypting /hs/svr_1/admpriv.bin : Is It extremally necessary?

40 views
Skip to first unread message

Alexandre Abreu

unread,
Feb 28, 2020, 3:45:48 PM2/28/20
to Dataverse Users Community
I work at FGV. We have Dataverse with Handle. After configure Handle, we weren't able to upload files, or even create a new data set. When we tried, the following error rised in log file:

 [#|2020-02-28T08:26:46.138-0300|SEVERE|glassfish 4.1|edu.harvard.iq.dataverse.HandlenetServiceBean|_ThreadID=50;_ThreadName=jk-connector(4);_TimeMillis=1582889206138;_6138;_LevelValue=1000;|
  Can't load private key in /hs/svr_1/admpriv.bin: java.lang.NullPointerException|#]

We found that the problem was the encryption. By running /hs/handle-9.0.3/bin/hdl-keyutil   /hs/svr_1/admpriv.bin  again and by choosing option '2: Save private key without encryption' the dataverse works nicely with handle.

So, Is It extremally necessary to encrypt admpriv.bin ?

Best regards,

Alexandre

Philip Durbin

unread,
Mar 2, 2020, 9:38:04 AM3/2/20
to dataverse...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/06f57ac3-5428-442d-b938-57c11c1d8cca%40googlegroups.com.


--

Alexandre Abreu

unread,
Mar 2, 2020, 11:35:23 AM3/2/20
to Dataverse Users Community
Hi,

FGV is Fundação Getulio Vargas :)
idk if this link is fine... it is redirecting me to this post itself...



Em segunda-feira, 2 de março de 2020 11:38:04 UTC-3, Philip Durbin escreveu:
On Fri, Feb 28, 2020 at 3:45 PM Alexandre Abreu <alsanti...@gmail.com> wrote:
I work at FGV. We have Dataverse with Handle. After configure Handle, we weren't able to upload files, or even create a new data set. When we tried, the following error rised in log file:

 [#|2020-02-28T08:26:46.138-0300|SEVERE|glassfish 4.1|edu.harvard.iq.dataverse.HandlenetServiceBean|_ThreadID=50;_ThreadName=jk-connector(4);_TimeMillis=1582889206138;_6138;_LevelValue=1000;|
  Can't load private key in /hs/svr_1/admpriv.bin: java.lang.NullPointerException|#]

We found that the problem was the encryption. By running /hs/handle-9.0.3/bin/hdl-keyutil   /hs/svr_1/admpriv.bin  again and by choosing option '2: Save private key without encryption' the dataverse works nicely with handle.

So, Is It extremally necessary to encrypt admpriv.bin ?

Best regards,

Alexandre

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.

Alexandre Abreu

unread,
Mar 2, 2020, 11:39:04 AM3/2/20
to Dataverse Users Community
I saw Jim's answer in my other post...


Em segunda-feira, 2 de março de 2020 11:38:04 UTC-3, Philip Durbin escreveu:
On Fri, Feb 28, 2020 at 3:45 PM Alexandre Abreu <alsanti...@gmail.com> wrote:
I work at FGV. We have Dataverse with Handle. After configure Handle, we weren't able to upload files, or even create a new data set. When we tried, the following error rised in log file:

 [#|2020-02-28T08:26:46.138-0300|SEVERE|glassfish 4.1|edu.harvard.iq.dataverse.HandlenetServiceBean|_ThreadID=50;_ThreadName=jk-connector(4);_TimeMillis=1582889206138;_6138;_LevelValue=1000;|
  Can't load private key in /hs/svr_1/admpriv.bin: java.lang.NullPointerException|#]

We found that the problem was the encryption. By running /hs/handle-9.0.3/bin/hdl-keyutil   /hs/svr_1/admpriv.bin  again and by choosing option '2: Save private key without encryption' the dataverse works nicely with handle.

So, Is It extremally necessary to encrypt admpriv.bin ?

Best regards,

Alexandre

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.

Philip Durbin

unread,
Mar 2, 2020, 2:11:52 PM3/2/20
to dataverse...@googlegroups.com

I'm glad you found it on your own.

Would Fundação Getulio Vargas (FGV) like to be on the map at https://dataverse.org/installations ? :)

On Mon, Mar 2, 2020 at 11:39 AM Alexandre Abreu <alsanti...@gmail.com> wrote:
I saw Jim's answer in my other post...


Em segunda-feira, 2 de março de 2020 11:38:04 UTC-3, Philip Durbin escreveu:
On Fri, Feb 28, 2020 at 3:45 PM Alexandre Abreu <alsanti...@gmail.com> wrote:
I work at FGV. We have Dataverse with Handle. After configure Handle, we weren't able to upload files, or even create a new data set. When we tried, the following error rised in log file:

 [#|2020-02-28T08:26:46.138-0300|SEVERE|glassfish 4.1|edu.harvard.iq.dataverse.HandlenetServiceBean|_ThreadID=50;_ThreadName=jk-connector(4);_TimeMillis=1582889206138;_6138;_LevelValue=1000;|
  Can't load private key in /hs/svr_1/admpriv.bin: java.lang.NullPointerException|#]

We found that the problem was the encryption. By running /hs/handle-9.0.3/bin/hdl-keyutil   /hs/svr_1/admpriv.bin  again and by choosing option '2: Save private key without encryption' the dataverse works nicely with handle.

So, Is It extremally necessary to encrypt admpriv.bin ?

Best regards,

Alexandre

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/b5593321-c84d-4b27-8d81-c2918192612a%40googlegroups.com.

Alexandre Abreu

unread,
Mar 2, 2020, 3:00:37 PM3/2/20
to Dataverse Users Community
Yes, it is on our plans!
We will do this asap  :-)


Em segunda-feira, 2 de março de 2020 16:11:52 UTC-3, Philip Durbin escreveu:

I'm glad you found it on your own.

Would Fundação Getulio Vargas (FGV) like to be on the map at https://dataverse.org/installations ? :)

On Mon, Mar 2, 2020 at 11:39 AM Alexandre Abreu <alsanti...@gmail.com> wrote:
I saw Jim's answer in my other post...


Em segunda-feira, 2 de março de 2020 11:38:04 UTC-3, Philip Durbin escreveu:
On Fri, Feb 28, 2020 at 3:45 PM Alexandre Abreu <alsanti...@gmail.com> wrote:
I work at FGV. We have Dataverse with Handle. After configure Handle, we weren't able to upload files, or even create a new data set. When we tried, the following error rised in log file:

 [#|2020-02-28T08:26:46.138-0300|SEVERE|glassfish 4.1|edu.harvard.iq.dataverse.HandlenetServiceBean|_ThreadID=50;_ThreadName=jk-connector(4);_TimeMillis=1582889206138;_6138;_LevelValue=1000;|
  Can't load private key in /hs/svr_1/admpriv.bin: java.lang.NullPointerException|#]

We found that the problem was the encryption. By running /hs/handle-9.0.3/bin/hdl-keyutil   /hs/svr_1/admpriv.bin  again and by choosing option '2: Save private key without encryption' the dataverse works nicely with handle.

So, Is It extremally necessary to encrypt admpriv.bin ?

Best regards,

Alexandre

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages