Hi there,

I am sitting now since a while on this problem and I hope someone might have
a solution for it.

I am getting an Access Denied reply, when trying to read from my Artifactory
repository. 

my project's parent pom.xml:

...
        <distributionManagement>
         <repository>
             <id>subdomain.domain.com</id>
             <name>subdomain.domain.com-releases</name>
            
<url>https://subdomain.domain.com/artifactory/myrepo-local</url>
         </repository>
         <snapshotRepository>
             <id>subdomain.domain.com</id>
             <name>subdomain.domain.com-snapshots</name>
            
<url>https://subdomain.domain.com/artifactory/myrepo-local</url>
         </snapshotRepository>
     </distributionManagement>
     
     <repositories>
         <repository>
             <id>subdomain.domain.com</id>
             <name>Artifactory Managed Internal Repository</name>
            
<url>https://subdomain.domain.com/artifactory/myrepo-local</url>
             <releases>
                 <enabled>true</enabled>
             </releases>
             <snapshots>
                 <enabled>true</enabled>
             </snapshots>
         </repository>
     </repositories>
...

my global settings.xml:
...
        <server>
        <id>subdomain.domain.com</id>
        <username>myuser</username>
        <password>{encrypted-password}</password>
    </server>
...


I am running Artifactory inside tomcat7. In front of tomcat I have an
apache2 server, who redirects my https requests to tomcat. 
I can easily access the WebUI and via UI deploy an artifact and from the
browser I can also access that artifact in myrepo-local. 
If I try to get the artifact with maven, I first got a "peer not
authenticated error". I quick-fixed this via setting MAVEN_OPTS to 
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

After that I am stuck now with an "Access Denied error", when trying to get
the artifact. I also tried with clear text password and I enabled anonymous
users -> still I got an access denied issue (even with anonymous users, that
do not require authentication!?!?). My guess is, that apache and tomcat are
maybe not getting along with each 
other and the ssl connection, but this is also weird since I can access
everything without problems via browser... 

Any help on this one would be highly appreciated!

Cheers,
 Rainer



--
View this message in context: 
http://forums.jfrog.org/mvn-https-access-denied-also-for-enabled-anonymous-user-tp7579634.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to