You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Pelzer, Sven WI/HZR-SIBDS" <sv...@schaeffler.com> on 2016/06/09 11:15:41 UTC

Encrypted password on pry settings

Hi,

I have a problem with an encrypted password on the proxy settings.

I set the master password and set the hashed password string in the password xml element of the proxy settings.
But a can't connect to the proxy.

Have any one an idea what the problem can be?

King Regards
Sven


AW: Encrypted password on pry settings

Posted by "Pelzer, Sven WI/HZR-SIBDS" <sv...@schaeffler.com>.
Hi,

in the verbose mode i see the error that the proxy need authentication, not more.

Kind regards 
 Sven Pelzer

-----Ursprüngliche Nachricht-----
Von: Karl Heinz Marbaise [mailto:khmarbaise@gmx.de] 
Gesendet: Samstag, 11. Juni 2016 15:15
An: Maven Users List
Betreff: Re: Encrypted password on pry settings

Hi,

On 6/9/16 1:15 PM, Pelzer, Sven  WI/HZR-SIBDS wrote:
> Hi,
>
> I have a problem with an encrypted password on the proxy settings.
>
> I set the master password and set the hashed password string in the password xml element of the proxy settings.
> But a can't connect to the proxy.

What does this mean? Anny error output? Log file output ?

Kind regards
Karl Heinz Marbaise

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Encrypted password on pry settings

Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi,

On 6/9/16 1:15 PM, Pelzer, Sven  WI/HZR-SIBDS wrote:
> Hi,
>
> I have a problem with an encrypted password on the proxy settings.
>
> I set the master password and set the hashed password string in the password xml element of the proxy settings.
> But a can't connect to the proxy.

What does this mean? Anny error output? Log file output ?

Kind regards
Karl Heinz Marbaise

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Encrypted password on pry settings

Posted by Martin Gainty <mg...@hotmail.com>.


> From: adrien.rivard@gmail.com
> Date: Sun, 12 Jun 2016 13:50:16 +0200Subject: Re: Encrypted password on pry settings
> To: users@maven.apache.org
> 
> Then I would try to check the procedure to encrypt again, and pay attention
> to special characters ( xml and {} ). Some of those need to be escaped IIUC
> .
> 
> Official doc is here if this is not the one you followed:
> https://maven.apache.org/guides/mini/guide-encryption.html
>  , see the tips in particular.

MG>correct you will want to set authentical credentials in proxy settings either from $M2_HOME/conf/settings.xml or maven-proxy.propertieshttps://github.com/codehaus/maven-proxy/blob/master/webapp/maven-proxy.properties
> 
> Alternatively if your are connecting to a nexus, you can use
> https://books.sonatype.com/nexus-book/reference/usertoken.html
> This is generally a safer alternative to encrypted passords.
MG>cut first suggest double-checking authentication credentials are assigned properly in nexus proxy repository beforehandhttps://books.sonatype.com/nexus-book/reference/confignx-sect-manage-repo.html
> 
> 
> On Sun, Jun 12, 2016 at 10:54 AM, Pelzer, Sven WI/HZR-SIBDS <
> sven.pelzer@schaeffler.com> wrote:
> 
> > Hi,
> >
> > yes without encrypted password is works.
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Adrien Rivard [mailto:adrien.rivard@gmail.com]
> > Gesendet: Samstag, 11. Juni 2016 15:11
> > An: Maven Users List
> > Betreff: Re: Encrypted password on pry settings
> >
> > Does this work without the encrypted password ?
> >
> > On Thu, Jun 9, 2016 at 1:15 PM, Pelzer, Sven WI/HZR-SIBDS <
> > sven.pelzer@schaeffler.com> wrote:
> >
> > > Hi,
> > >
> > > I have a problem with an encrypted password on the proxy settings.
> > >
> > > I set the master password and set the hashed password string in the
> > > password xml element of the proxy settings.
> > > But a can't connect to the proxy.
> > >
> > > Have any one an idea what the problem can be?
> > >
> > > King Regards
> > > Sven
> > >
> > >
> >
> >
> > --
> > Adrien Rivard
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> 
> 
> 
> -- 
> Adrien Rivard
 		 	   		  

Re: Encrypted password on pry settings

Posted by Adrien Rivard <ad...@gmail.com>.
Then I would try to check the procedure to encrypt again, and pay attention
to special characters ( xml and {} ). Some of those need to be escaped IIUC
.

Official doc is here if this is not the one you followed:
https://maven.apache.org/guides/mini/guide-encryption.html
 , see the tips in particular.

Alternatively if your are connecting to a nexus, you can use
https://books.sonatype.com/nexus-book/reference/usertoken.html
This is generally a safer alternative to encrypted passords.


On Sun, Jun 12, 2016 at 10:54 AM, Pelzer, Sven WI/HZR-SIBDS <
sven.pelzer@schaeffler.com> wrote:

> Hi,
>
> yes without encrypted password is works.
>
> -----Ursprüngliche Nachricht-----
> Von: Adrien Rivard [mailto:adrien.rivard@gmail.com]
> Gesendet: Samstag, 11. Juni 2016 15:11
> An: Maven Users List
> Betreff: Re: Encrypted password on pry settings
>
> Does this work without the encrypted password ?
>
> On Thu, Jun 9, 2016 at 1:15 PM, Pelzer, Sven WI/HZR-SIBDS <
> sven.pelzer@schaeffler.com> wrote:
>
> > Hi,
> >
> > I have a problem with an encrypted password on the proxy settings.
> >
> > I set the master password and set the hashed password string in the
> > password xml element of the proxy settings.
> > But a can't connect to the proxy.
> >
> > Have any one an idea what the problem can be?
> >
> > King Regards
> > Sven
> >
> >
>
>
> --
> Adrien Rivard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>



-- 
Adrien Rivard

AW: Encrypted password on pry settings

Posted by "Pelzer, Sven WI/HZR-SIBDS" <sv...@schaeffler.com>.
Hi,

yes without encrypted password is works.

-----Ursprüngliche Nachricht-----
Von: Adrien Rivard [mailto:adrien.rivard@gmail.com] 
Gesendet: Samstag, 11. Juni 2016 15:11
An: Maven Users List
Betreff: Re: Encrypted password on pry settings

Does this work without the encrypted password ?

On Thu, Jun 9, 2016 at 1:15 PM, Pelzer, Sven WI/HZR-SIBDS < sven.pelzer@schaeffler.com> wrote:

> Hi,
>
> I have a problem with an encrypted password on the proxy settings.
>
> I set the master password and set the hashed password string in the 
> password xml element of the proxy settings.
> But a can't connect to the proxy.
>
> Have any one an idea what the problem can be?
>
> King Regards
> Sven
>
>


--
Adrien Rivard

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org

Re: Encrypted password on pry settings

Posted by Adrien Rivard <ad...@gmail.com>.
Does this work without the encrypted password ?

On Thu, Jun 9, 2016 at 1:15 PM, Pelzer, Sven WI/HZR-SIBDS <
sven.pelzer@schaeffler.com> wrote:

> Hi,
>
> I have a problem with an encrypted password on the proxy settings.
>
> I set the master password and set the hashed password string in the
> password xml element of the proxy settings.
> But a can't connect to the proxy.
>
> Have any one an idea what the problem can be?
>
> King Regards
> Sven
>
>


-- 
Adrien Rivard