Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check if connection was successful on mount #1

Open
kradan opened this issue Jul 22, 2013 · 2 comments
Open

check if connection was successful on mount #1

kradan opened this issue Jul 22, 2013 · 2 comments

Comments

@kradan
Copy link

kradan commented Jul 22, 2013

$ ./rs-mount -o debug,...
BEGIN LOG rs-mount Mon Jul 22 19:21:54 2013
[remote] HEAD /
curl_easy_perform() failed with status 60: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt C
RLfile: none
OP GETATTR / (dir)
OP READDIR /
[remote] GET /
curl_easy_perform() failed with status 60: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt C
RLfile: none
READDIR GOT NODE: <Node "/" is_dir=1 size=0 data=0x0>
BEGIN LOG rs-mount Mon Jul 22 19:22:14 2013
BEGIN LOG rs-mount Mon Jul 22 19:22:43 2013
[remote] HEAD /
curl_easy_perform() failed with status 60: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
OP GETATTR / (dir)
OP READDIR /
[remote] GET /
curl_easy_perform() failed with status 60: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
READDIR GOT NODE: <Node "/" is_dir=1 size=0 data=0x0>
@kradan
Copy link
Author

kradan commented Jul 22, 2013

It looked, like mounting worked, but ls showed nothing.
I added the certificate of the server to my system's CA file and it worked.

This turned out to be useful

DOMAIN=heahdk.net && echo "QUIT"|openssl s_client -connect $DOMAIN:443 | sed -ne "/^-----BEGIN CERTIFICATE/,/^-----END CERTIFICATE/p" > /usr/local/share/ca-certificates/$DOMAIN.crt && update-ca-certificates

@raucao raucao changed the title check if connection was successfull on mount check if connection was successful on mount Oct 9, 2015
@raucao
Copy link
Member

raucao commented Oct 9, 2015

Ran into that as well. Tried to mount on Arch after a successful build, but it didn't actually work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants