I have another rackspace in the UK. The access works with the API
key!
I generated a few new keys for the us account but nothing works.
The only thing that I can think of is that "cloudfiles-us" acts
differently than "cloudfiles-uk", but this seems very unlikely.
Another not very likely cause is that I am running jclouds outside of
the US.
I will continue looking for a programming error on my part.
In any case I suggest that the quick start example for rackspace
be updated to make it clear that the API key is required and not
the user password.
On Feb 20, 1:38 pm, Kenneth Nagin <
kna...@gmail.com> wrote:
> I'm getting an authorization exception when attempting to
> createContainer
> I'm try to use rackspace's cloudfiles but I'm getting an
> AuthorizationException on any operation I do on
> on its BlobStore. This is the code sequence.
>
> mBlobStoreContext = new
> BlobStoreContextFactory().createContext(pProvider, pIdentity,
> pCredential);
> mBlobStore = mBlobStoreContext.getBlobStore();
> mBlobStore.list();
>
> The pIdentity is the username that I use to login to the rackspace
> console.
> For pCredential's I've tried using my password and the API key.
> Both fail but with different exceptions.
>
> When using my password the exception is:
> Exception in thread "main" org.jclouds.rest.AuthorizationException:
> command: GEThttps://
auth.api.rackspacecloud.com/v1.0HTTP/1.1 failed
> with response: HTTP/1.1 401 Unauthorized; content: [Bad username or
> password]
> at
> org.jclouds.openstack.swift.handlers.ParseSwiftErrorFromHttpResponse.handleError(ParseSwiftErrorFromHttpResponse.java:
> 59)
>
> When using the API key the exception is:
>
> Exception in thread "main" org.jclouds.rest.AuthorizationException:
> com.ibm.jsse2.util.g: PKIX path validation failed:
> java.security.cert.CertPathValidatorException: Fail to verify issuer;
> internal cause is:
> java.security.cert.CertPathValidatorException: Certificate chaining
> error connecting to GEThttps://
storage101.dfw1.clouddrive.com/v1/MossoCloudFS_ac7c7051-3320-...