Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 3 of 3
  1. #1
    Weemen is offline Registered User
    Join Date
    Aug 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    SVN and certificates without passphrase

    Hi all

    I was wondering if someone could help me out with my svn issues.
    First of all I have to admit that I'm pretty new to OSX.

    Is it possible with svn on the commandline to use a specific certificate file? I already have the certificate (a .p12 file) but there is no passphrase on it so I can't add it to the keychain. In other words, I want to avoid the keychain in OSX when using SVN

    Already thanks for helping

  2. #2
    Whitehill's Avatar
    Whitehill is offline Registered User
    Join Date
    May 2005
    Location
    Maine
    Posts
    512
    Thanks
    23
    Thanked 15 Times in 14 Posts
    Are you trying to access a remote repository? If yes, are you using the "svn+ssh" protocol? If yes again, the authentication is handled by SSH and the OSX keychain doesn't enter the picture. Can you login via SSH to the server of the SVN repository?
    iMac 21.5" 2.7 Ghz Intel Core i5, 8 gb, 1 tb
    Beer is proof that God loves us and wants us to be happy. - Ben Franklin

  3. #3
    Weemen is offline Registered User
    Join Date
    Aug 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It is a remote repository but it works not by svn+ssh, it uses https. I can't login at the production server but when I log in at the developement server I can do a checkout but that's an other machine.

    I did copy the client certificate from the developement server to my osx machine.

    I changed the ~/.subversion/servers file and added:
    ssl-client-cert-file=/path/to/certfile/certfile.p12
    (I tried also without that line and double checked if the path is ok)

    I also tried to connect by smartsvn & versions but I'm pretty sure that they both use the keychain although smartsvn does allow me to select a certficate file but eventually I'll get an error

    svn: OPTIONS of 'https://url.to.server.tld': Could not read status line: Secure connection truncated (https://url.to.server.tld)

    My thoughts were that I might get the rid of the keychain when I use the svn command on the console and there forcing (with a parameter) to use my certificate but I don't know if that's posible.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •