Hi Deborah,

   - *Change the handle url generated in dspace.cfg*
   - That's indeed correct
   - *Change the handle urls stored in our dc.identifier field*
   - A query I've used before for this is:
      - update metadatavalue set text_value = regexp_replace(text_value, '
      http://hdl.handle.net', 'https://hdl.handle.net') where
      metadata_field_id IN (select metadata_field_id from metadatafieldregistry
      where element = 'identifier' and qualifier = 'uri');
   - *Change the DSpace urls sent to handle.net <http://handle.net>*
   - The property used by the DSpace Handle server process is "dspace.url"
      So if you change that one to "https" you only have to restart the handle
      server process (because it will still have the old value in memory).
      - To stop the handle server, execute: kill -TERM `ps -ef | grep
      net.handle.server.Main | grep java | awk '!/grep/ {print $2}'`
      - To start it again, call the "start-handle-server" script under
      "bin/dspace" in your DSpace install directory
   - *Change the DSpace urls already stored by handle.net
   <http://handle.net/>*
   - Handle.net does not store the URL to your DSpace repository. They ask
      the Handle server process on your DSpace server to translate a
handle value
      to a full URL (see bullet point above). Then they cache the
response for a
      few minutes but that cache will update itself in time. So after you have
      restarted your Handle server process, all should work well and you don't
      have to contact the CNRI.

I hope this helps!

Best regards,
Tom


[image: logo] Tom Desair
250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
Esperantolaan 4, Heverlee 3001, Belgium
www.atmire.com
<http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=tomdesair>

2017-01-31 23:48 GMT+01:00 Fitchett, Deborah <[email protected]
>:

> Hi all,
>
>
>
> I’m taking baby steps to https everywhere and right now looking at handles
> in DSpace. Until now we’ve assumed an http default, so the permalink for
> each record has been stored/displayed as an http handle, and the handle in
> turn links to the record through http. I’d like to change both, so the
> record should link to https://hdl.handle.net, and handle.net should
> resolve to https://our_dspace.ac.nz .
>
>
>
> My initial brainstorm of all the bases I need to cover for this is as
> follows – can anyone fill in any blanks or see anything I’ve missed?
>
>
>
>
>
>
>
>
> Change the handle url generated in DSpace:
>
> ·         dspace.cfg -> handle.canonical.prefix = https://hdl.handle.net
>
> ·         dspace.cfg -> webui.resolver.2.baseurl = https://hdl.handle.net
>
>
>
> Change the handle urls stored in our dc.identifier field:
>
> ·         fun-but-careful psql queries ftw
>
> ·         followed by reindexing our OAI feed
>
>
>
> Change the DSpace urls sent to handle.net:
>
> ·         ? is this determined by one of dspace.baseUrl or dspace.url? or
> is it a setting at CNRI’s end ?
>
>
>
> Change the DSpace urls already stored by handle.net
>
> ·         ? ask CNRI to update our settings on their proxy server?
>
>
>
>
>
>
>
> Thanks very much!
>
>
>
> *Deborah Fitchett*
>
> *Senior Advisor, Digital Access*
>
> *Library, Teaching and Learning*
>
>
>
> *p *+64 3 423 0358 <+64%203-423%200358>
>
> *e* [email protected] | *w* ltl.lincoln.ac.nz
> <http://library.lincoln.ac.nz/>
>
>
>
> *Lincoln University, Te Whare Wānaka o Aoraki*
>
> New Zealand's specialist land-based university
>
>
>
> ------------------------------
> P Please consider the environment before you print this email.
> "The contents of this e-mail (including any attachments) may be
> confidential and/or subject to copyright. Any unauthorised use,
> distribution, or copying of the contents is expressly prohibited. If you
> have received this e-mail in error, please advise the sender by return
> e-mail or telephone and then delete this e-mail together with all
> attachments from your system."
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to