That's it, great ! I used solution 1, copying security dir from 2.2.2 to 
2.3.0 without extra of modified files from 2.3.0. Now I have all my 
PostGis layers.
Thanks Christian !

Gabriel

On 21/03/2013 11:25, Christian Mueller wrote:
> Now, for migrating to 2.3.0 I copied my whole data_dir, minus security
> folder, to new server
>
> And here is the problem. Geoserver 2.3.0 did not find its keystore
> "geoserver.jceks", as a consequence a new one was created.
>
> Within the keystore, there is a key labeled
>
> config:password:key
>
> This key is used for password encryption and is created on demand. (on a
> random basis).
>
> Solutions:
>
> 1) Copy your old security dir to the new installation, GeoServer 2.3.0
> should migrate this directory properly.
>
> or
>
> 2) Use the java keytools to export/import the old key into the new keystore.
>
> Hope this helps
>
>
>
>
>
>
>
>
>
> 2013/3/21 Gabriel Vatin <gabriel.va...@mines-paristech.fr
> <mailto:gabriel.va...@mines-paristech.fr>>
>
>     Thanks Aime. The digest method was added "at hand" in 2.2.2 version.
>     Now, I guess the tutorial on GS webite should be updated, as
>     authentification panel has changed :
>     
> http://docs.geoserver.org/latest/en/user/security/tutorials/digest/index.html
>
>     And about my PostGis problem, that was indeed a problem of encryption. I
>     used the new encrypted password of my published PostGis datastore,
>     copied it into the old published datastore, and now it works. So the
>     password wasn't encrypted the same way.
>
>     Gabriel
>
>     On 21/03/2013 09:40, Andrea Aime wrote:
>      > On Thu, Mar 21, 2013 at 9:30 AM, Gabriel Vatin
>      > <gabriel.va...@mines-paristech.fr
>     <mailto:gabriel.va...@mines-paristech.fr>>  wrote:
>      >> Actually, when creating a new datastore from PostGis, all the
>     folders are
>      >> here, it's true. But still, the "old" folders coming from my GS
>     2.2.2 aren't
>      >> recognized by 2.3.0. Even if it is the exact same structure, I
>     compared both
>      >> (new created datastore vs original datastore).
>      >> Maybe it can come from the encryption of password for DB
>     connection ? I've
>      >> seen that the authentification panel has changed in 2.3.0, and I
>     can't see
>      >> the digest method.
>      > Let's ask Christian (cc'ed) about that
>      >
>      > Cheers
>      > Andrea
>      >
>
>     
> ------------------------------------------------------------------------------
>     Everyone hates slow websites. So do we.
>     Make your web apps faster with AppDynamics
>     Download AppDynamics Lite for free today:
>     http://p.sf.net/sfu/appdyn_d2d_mar
>     _______________________________________________
>     Geoserver-users mailing list
>     Geoserver-users@lists.sourceforge.net
>     <mailto:Geoserver-users@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to