Modify

Opened 6 years ago

Last modified 4 years ago

#11819 new defect

n2n upstream server certificate

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

mkdir -p /home/andrew/OpenWRT/trunk/dl

echo "Checking out files from the svn repository..."; mkdir -p /home/andrew/OpenWRT/trunk/tmp/dl && cd /home/andrew/OpenWRT/trunk/tmp/dl && rm -rf n2n-3875 && [ \! -d n2n-3875 ] && ( svn help export | grep -q trust-server-cert && svn export --non-interactive --trust-server-cert -r3875https://svn.ntop.org/svn/ntop/trunk/n2n n2n-3875
svn export --non-interactive -r3875 https://svn.ntop.org/svn/ntop/trunk/n2n n2n-3875 ) && echo "Packing checkout..." && /bin/tar cfz /home/andrew/OpenWRT/trunk/tmp/dl/n2n-3875.tar.gz n2n-3875 && mv /home/andrew/OpenWRT/trunk/tmp/dl/n2n-3875.tar.gz /home/andrew/OpenWRT/trunk/dl/ && rm -rf n2n-3875;

Checking out files from the svn repository...
svn: OPTIONS of 'https://svn.ntop.org/svn/ntop/trunk/n2n': Server certificate verification failed: certificate issued for a different hostname (https://svn.ntop.org)
svn: OPTIONS of 'https://svn.ntop.org/svn/ntop/trunk/n2n': Server certificate verification failed: certificate issued for a different hostname (https://svn.ntop.org)
make[2]: * /home/andrew/OpenWRT/trunk/dl/n2n-3875.tar.gz Error 1
make[2]: Leaving directory `/home/andrew/OpenWRT/trunk/feeds/packages/net/n2n'

perhaps keeping a tarball on the mirrors would be better?

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by el_goretto

This is nothing related to openWRT, it's ntop.org's certificate being "wrong", it is not covering svn.ntop.org domain, so svn complains about it.
I solved it by using svn once manually to accept this "wrong" certificate (svn export -r3875 https://svn.ntop.org/svn/ntop/trunk/n2n n2n-3875 then accept). After that, getting n2n feed is ok.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.