[Box Backup] Probs with setup CA

Ben Summers boxbackup@fluffy.co.uk
Tue, 8 Nov 2005 09:46:02 +0000


On 8 Nov 2005, at 09:42, Micael Roxenhall wrote:

>
> Hi all!
>
>
>
> I can't install CA, what's is wrong?
>
>  First I setup basic like:
>
>  /usr/local/bin/bbstored-certs ca init
>
>
> And this working great, but tells me certificate is located in
> /etc/box/bbstored/192.168.0.2-csr.pem
> When I try to sign a server certificate, I get problem
>
>  /usr/local/bin/bbstored-certs ca sign-server 192.168.0.2-csr.pem

What happens if you type

    cat 192.168.0.2-csr.pem

before running this command? Do you get a file not found error?

>
>  I get this error:
>
> 192.168.0.2-csr.pem does not exist at /usr/local/bin/bbstored-certs  
> line
> 270

I'm guessing you would...

>
> I have tried in different type like (and many more):
> /usr/local/bin/bbstored-certs ca sign-server
> /etc/box/bbstored/192.168.0.2-csr.pem
> /usr/local/bin/bbstored-certs /ca sign-server 192.168.0.2-csr.pem
> /usr/local/bin/bbstored-certs /etc/box/bbstored/ sign-server
> 192.168.0.2-csr.pem
>
> And I tried with hostname to
> /usr/local/bin/bbstored-certs ca sign-server SERVER2-csr.pem after I
> change setting in configure with:
> /usr/local/bin/bbstored-config /etc/box SERVER2 _bbstored
>
>  I can't figure out what's wrong?

All pathnames (ca, *.pem files) to these commands must either be  
relative to the local directory, or absolute paths.

Ben