How do you accept an SSL certificate through the SVN command line?Setting up Redmine With the Bitnami stack installer on Windows Server 2003svn won't accept my invalid certificateHow to accept a ssl certificate in a bash or other script?What's the command-line utility in Windows to do a reverse DNS look-up?Save Remote SSL Certificate via Linux Command Linehow to download the ssl certificate from a website?How to get the url of the current svn repo?Can an SSL certificate be on a single line in a file (no line breaks)?Import an SSL Certificate into IIS 7 from the command lineCommand line tool for fetching and analyzing SSL certificateReplace wildcard certificate on multiple sites at once (using command line) on IIS 7.5
Do I have any obligations to my PhD supervisor's requests after I have graduated?
How dangerous are set-size assumptions?
If I wouldn't want to read the story, is writing it still a good idea?
Why aren't non-isolated DC-DC converters made for high wattage applications?
How does DC work with natural 20?
Dates on degrees don’t make sense – will people care?
Why do some professors with PhDs leave their professorships to teach high school?
Can there be an UN resolution to remove a country from the UNSC?
Why tighten down in a criss-cross pattern?
"How can you guarantee that you won't change/quit job after just couple of months?" How to respond?
Java TreeMap.floorKey() equivalent for std::map
What does "play with your toy’s toys" mean?
Count All Possible Unique Combinations of Letters in a Word
Why is it recommended to mix yogurt starter with a small amount of milk before adding to the entire batch?
Trainee keeps missing deadlines for independent learning
Dystopia where people are regularly forced to move, protagonist must move daily
Output of "$OSTYPE:6" on old releases of Mac OS X
How many children?
Understanding the reasoning of the woman who agreed with King Solomon to "cut the baby in half"
What can I do with a research project that is my university’s intellectual property?
Can any NP-Complete Problem be solved using at most polynomial space (but while using exponential time?)
Should I prioritize my 401k over my student loans?
Hot coffee brewing solutions for deep woods camping
.NET executes a SQL query and Active Monitor shows multiple rows blocking each other
How do you accept an SSL certificate through the SVN command line?
Setting up Redmine With the Bitnami stack installer on Windows Server 2003svn won't accept my invalid certificateHow to accept a ssl certificate in a bash or other script?What's the command-line utility in Windows to do a reverse DNS look-up?Save Remote SSL Certificate via Linux Command Linehow to download the ssl certificate from a website?How to get the url of the current svn repo?Can an SSL certificate be on a single line in a file (no line breaks)?Import an SSL Certificate into IIS 7 from the command lineCommand line tool for fetching and analyzing SSL certificateReplace wildcard certificate on multiple sites at once (using command line) on IIS 7.5
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
Is there an command line option to auto accept a SSL certificate permanently using the SVN commandline in a way that avoids the prompt?
ssl svn command-line-interface
add a comment |
Is there an command line option to auto accept a SSL certificate permanently using the SVN commandline in a way that avoids the prompt?
ssl svn command-line-interface
Would this be a better fit at Stack Overflow?
– James McMahon
Jul 8 '09 at 20:46
add a comment |
Is there an command line option to auto accept a SSL certificate permanently using the SVN commandline in a way that avoids the prompt?
ssl svn command-line-interface
Is there an command line option to auto accept a SSL certificate permanently using the SVN commandline in a way that avoids the prompt?
ssl svn command-line-interface
ssl svn command-line-interface
asked Jul 8 '09 at 20:34
James McMahonJames McMahon
6032816
6032816
Would this be a better fit at Stack Overflow?
– James McMahon
Jul 8 '09 at 20:46
add a comment |
Would this be a better fit at Stack Overflow?
– James McMahon
Jul 8 '09 at 20:46
Would this be a better fit at Stack Overflow?
– James McMahon
Jul 8 '09 at 20:46
Would this be a better fit at Stack Overflow?
– James McMahon
Jul 8 '09 at 20:46
add a comment |
4 Answers
4
active
oldest
votes
It depends somewhat on your version of SVN. Recent (1.6+) ones have the usual --non-interactive
(which you want to use to avoid prompts) and also a --trust-server-cert
that may do what you want.
This solution seems to work. Unfortunately the command line certificate accept didn't solve my initial problem. Oh well, at least I know what doesn't work now.
– James McMahon
Jul 9 '09 at 15:19
If this still doesn't work, it may be because you can't access/create the .subversion directory in your home directory. Solution found here: chipsandtv.com/articles/svn-invalid-certificates
– icc97
Apr 26 '12 at 16:40
The chipsandtv.com link is dead. Is there another source?
– Joe McMahon
Jan 17 '13 at 1:01
web.archive.org/web/20120512113710/http://chipsandtv.com/…
– sergtk
Aug 25 '13 at 21:13
I ended up having to use both options, now it works, thanks!
– rogerdpack
Apr 29 '15 at 20:38
add a comment |
Using --trust-server-cert
will not permanently accept the SSL certificate. You can permanently accept the SSL certificate via the command line using Input Redirection and not using --non-interactive
.
Here's an example for Unix/Linux:
svn list [TARGET] << EOF
p
EOF
NOTE: The "p" above is for (p)ermanently.
Well, my version (1.6.6 (r40053)
) unfortunately simply won't offer thep
(permanently) option at all. And since this is on an ancient box which I can't update any longer ...
– 0xC0000022L
Mar 8 '17 at 14:45
add a comment |
My solution uses expect. It isn't secure but it will work when the other solutions won't.
#!/usr/bin/expect -f
set svn_username [lindex $argv 0]
set svn_password [lindex $argv 1]
set svn_url [lindex $argv 2]
spawn svn --username=$svn_username --password=$svn_password list $svn_url
expect "(R)eject, accept (t)emporarily or accept (p)ermanently? "
send -- "pr"
expect "Store password unencrypted (yes/no)? "
send "nor"
expect -re "root@.*:/#"
add a comment |
You should be able to download the certificate and then place it in the appropriate directory. Or you can download the CA certificate and then set the configuration option ssl-authority-files to trust that CA.
See the SSL Certificate Management section in the book.
I'm in a very strange situation here, see serverfault.com/questions/7648/…, so I want to be able to pull it off in one command.
– James McMahon
Jul 8 '09 at 21:07
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f37929%2fhow-do-you-accept-an-ssl-certificate-through-the-svn-command-line%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
It depends somewhat on your version of SVN. Recent (1.6+) ones have the usual --non-interactive
(which you want to use to avoid prompts) and also a --trust-server-cert
that may do what you want.
This solution seems to work. Unfortunately the command line certificate accept didn't solve my initial problem. Oh well, at least I know what doesn't work now.
– James McMahon
Jul 9 '09 at 15:19
If this still doesn't work, it may be because you can't access/create the .subversion directory in your home directory. Solution found here: chipsandtv.com/articles/svn-invalid-certificates
– icc97
Apr 26 '12 at 16:40
The chipsandtv.com link is dead. Is there another source?
– Joe McMahon
Jan 17 '13 at 1:01
web.archive.org/web/20120512113710/http://chipsandtv.com/…
– sergtk
Aug 25 '13 at 21:13
I ended up having to use both options, now it works, thanks!
– rogerdpack
Apr 29 '15 at 20:38
add a comment |
It depends somewhat on your version of SVN. Recent (1.6+) ones have the usual --non-interactive
(which you want to use to avoid prompts) and also a --trust-server-cert
that may do what you want.
This solution seems to work. Unfortunately the command line certificate accept didn't solve my initial problem. Oh well, at least I know what doesn't work now.
– James McMahon
Jul 9 '09 at 15:19
If this still doesn't work, it may be because you can't access/create the .subversion directory in your home directory. Solution found here: chipsandtv.com/articles/svn-invalid-certificates
– icc97
Apr 26 '12 at 16:40
The chipsandtv.com link is dead. Is there another source?
– Joe McMahon
Jan 17 '13 at 1:01
web.archive.org/web/20120512113710/http://chipsandtv.com/…
– sergtk
Aug 25 '13 at 21:13
I ended up having to use both options, now it works, thanks!
– rogerdpack
Apr 29 '15 at 20:38
add a comment |
It depends somewhat on your version of SVN. Recent (1.6+) ones have the usual --non-interactive
(which you want to use to avoid prompts) and also a --trust-server-cert
that may do what you want.
It depends somewhat on your version of SVN. Recent (1.6+) ones have the usual --non-interactive
(which you want to use to avoid prompts) and also a --trust-server-cert
that may do what you want.
edited Jun 5 at 18:02
Dan Atkinson
126129
126129
answered Jul 9 '09 at 14:20
pjzpjz
10.1k12640
10.1k12640
This solution seems to work. Unfortunately the command line certificate accept didn't solve my initial problem. Oh well, at least I know what doesn't work now.
– James McMahon
Jul 9 '09 at 15:19
If this still doesn't work, it may be because you can't access/create the .subversion directory in your home directory. Solution found here: chipsandtv.com/articles/svn-invalid-certificates
– icc97
Apr 26 '12 at 16:40
The chipsandtv.com link is dead. Is there another source?
– Joe McMahon
Jan 17 '13 at 1:01
web.archive.org/web/20120512113710/http://chipsandtv.com/…
– sergtk
Aug 25 '13 at 21:13
I ended up having to use both options, now it works, thanks!
– rogerdpack
Apr 29 '15 at 20:38
add a comment |
This solution seems to work. Unfortunately the command line certificate accept didn't solve my initial problem. Oh well, at least I know what doesn't work now.
– James McMahon
Jul 9 '09 at 15:19
If this still doesn't work, it may be because you can't access/create the .subversion directory in your home directory. Solution found here: chipsandtv.com/articles/svn-invalid-certificates
– icc97
Apr 26 '12 at 16:40
The chipsandtv.com link is dead. Is there another source?
– Joe McMahon
Jan 17 '13 at 1:01
web.archive.org/web/20120512113710/http://chipsandtv.com/…
– sergtk
Aug 25 '13 at 21:13
I ended up having to use both options, now it works, thanks!
– rogerdpack
Apr 29 '15 at 20:38
This solution seems to work. Unfortunately the command line certificate accept didn't solve my initial problem. Oh well, at least I know what doesn't work now.
– James McMahon
Jul 9 '09 at 15:19
This solution seems to work. Unfortunately the command line certificate accept didn't solve my initial problem. Oh well, at least I know what doesn't work now.
– James McMahon
Jul 9 '09 at 15:19
If this still doesn't work, it may be because you can't access/create the .subversion directory in your home directory. Solution found here: chipsandtv.com/articles/svn-invalid-certificates
– icc97
Apr 26 '12 at 16:40
If this still doesn't work, it may be because you can't access/create the .subversion directory in your home directory. Solution found here: chipsandtv.com/articles/svn-invalid-certificates
– icc97
Apr 26 '12 at 16:40
The chipsandtv.com link is dead. Is there another source?
– Joe McMahon
Jan 17 '13 at 1:01
The chipsandtv.com link is dead. Is there another source?
– Joe McMahon
Jan 17 '13 at 1:01
web.archive.org/web/20120512113710/http://chipsandtv.com/…
– sergtk
Aug 25 '13 at 21:13
web.archive.org/web/20120512113710/http://chipsandtv.com/…
– sergtk
Aug 25 '13 at 21:13
I ended up having to use both options, now it works, thanks!
– rogerdpack
Apr 29 '15 at 20:38
I ended up having to use both options, now it works, thanks!
– rogerdpack
Apr 29 '15 at 20:38
add a comment |
Using --trust-server-cert
will not permanently accept the SSL certificate. You can permanently accept the SSL certificate via the command line using Input Redirection and not using --non-interactive
.
Here's an example for Unix/Linux:
svn list [TARGET] << EOF
p
EOF
NOTE: The "p" above is for (p)ermanently.
Well, my version (1.6.6 (r40053)
) unfortunately simply won't offer thep
(permanently) option at all. And since this is on an ancient box which I can't update any longer ...
– 0xC0000022L
Mar 8 '17 at 14:45
add a comment |
Using --trust-server-cert
will not permanently accept the SSL certificate. You can permanently accept the SSL certificate via the command line using Input Redirection and not using --non-interactive
.
Here's an example for Unix/Linux:
svn list [TARGET] << EOF
p
EOF
NOTE: The "p" above is for (p)ermanently.
Well, my version (1.6.6 (r40053)
) unfortunately simply won't offer thep
(permanently) option at all. And since this is on an ancient box which I can't update any longer ...
– 0xC0000022L
Mar 8 '17 at 14:45
add a comment |
Using --trust-server-cert
will not permanently accept the SSL certificate. You can permanently accept the SSL certificate via the command line using Input Redirection and not using --non-interactive
.
Here's an example for Unix/Linux:
svn list [TARGET] << EOF
p
EOF
NOTE: The "p" above is for (p)ermanently.
Using --trust-server-cert
will not permanently accept the SSL certificate. You can permanently accept the SSL certificate via the command line using Input Redirection and not using --non-interactive
.
Here's an example for Unix/Linux:
svn list [TARGET] << EOF
p
EOF
NOTE: The "p" above is for (p)ermanently.
edited Apr 23 '13 at 18:34
slm
5,161124460
5,161124460
answered Apr 23 '13 at 18:08
JesseJesse
246312
246312
Well, my version (1.6.6 (r40053)
) unfortunately simply won't offer thep
(permanently) option at all. And since this is on an ancient box which I can't update any longer ...
– 0xC0000022L
Mar 8 '17 at 14:45
add a comment |
Well, my version (1.6.6 (r40053)
) unfortunately simply won't offer thep
(permanently) option at all. And since this is on an ancient box which I can't update any longer ...
– 0xC0000022L
Mar 8 '17 at 14:45
Well, my version (
1.6.6 (r40053)
) unfortunately simply won't offer the p
(permanently) option at all. And since this is on an ancient box which I can't update any longer ...– 0xC0000022L
Mar 8 '17 at 14:45
Well, my version (
1.6.6 (r40053)
) unfortunately simply won't offer the p
(permanently) option at all. And since this is on an ancient box which I can't update any longer ...– 0xC0000022L
Mar 8 '17 at 14:45
add a comment |
My solution uses expect. It isn't secure but it will work when the other solutions won't.
#!/usr/bin/expect -f
set svn_username [lindex $argv 0]
set svn_password [lindex $argv 1]
set svn_url [lindex $argv 2]
spawn svn --username=$svn_username --password=$svn_password list $svn_url
expect "(R)eject, accept (t)emporarily or accept (p)ermanently? "
send -- "pr"
expect "Store password unencrypted (yes/no)? "
send "nor"
expect -re "root@.*:/#"
add a comment |
My solution uses expect. It isn't secure but it will work when the other solutions won't.
#!/usr/bin/expect -f
set svn_username [lindex $argv 0]
set svn_password [lindex $argv 1]
set svn_url [lindex $argv 2]
spawn svn --username=$svn_username --password=$svn_password list $svn_url
expect "(R)eject, accept (t)emporarily or accept (p)ermanently? "
send -- "pr"
expect "Store password unencrypted (yes/no)? "
send "nor"
expect -re "root@.*:/#"
add a comment |
My solution uses expect. It isn't secure but it will work when the other solutions won't.
#!/usr/bin/expect -f
set svn_username [lindex $argv 0]
set svn_password [lindex $argv 1]
set svn_url [lindex $argv 2]
spawn svn --username=$svn_username --password=$svn_password list $svn_url
expect "(R)eject, accept (t)emporarily or accept (p)ermanently? "
send -- "pr"
expect "Store password unencrypted (yes/no)? "
send "nor"
expect -re "root@.*:/#"
My solution uses expect. It isn't secure but it will work when the other solutions won't.
#!/usr/bin/expect -f
set svn_username [lindex $argv 0]
set svn_password [lindex $argv 1]
set svn_url [lindex $argv 2]
spawn svn --username=$svn_username --password=$svn_password list $svn_url
expect "(R)eject, accept (t)emporarily or accept (p)ermanently? "
send -- "pr"
expect "Store password unencrypted (yes/no)? "
send "nor"
expect -re "root@.*:/#"
answered Dec 25 '14 at 14:04
Matt FriedmanMatt Friedman
1211
1211
add a comment |
add a comment |
You should be able to download the certificate and then place it in the appropriate directory. Or you can download the CA certificate and then set the configuration option ssl-authority-files to trust that CA.
See the SSL Certificate Management section in the book.
I'm in a very strange situation here, see serverfault.com/questions/7648/…, so I want to be able to pull it off in one command.
– James McMahon
Jul 8 '09 at 21:07
add a comment |
You should be able to download the certificate and then place it in the appropriate directory. Or you can download the CA certificate and then set the configuration option ssl-authority-files to trust that CA.
See the SSL Certificate Management section in the book.
I'm in a very strange situation here, see serverfault.com/questions/7648/…, so I want to be able to pull it off in one command.
– James McMahon
Jul 8 '09 at 21:07
add a comment |
You should be able to download the certificate and then place it in the appropriate directory. Or you can download the CA certificate and then set the configuration option ssl-authority-files to trust that CA.
See the SSL Certificate Management section in the book.
You should be able to download the certificate and then place it in the appropriate directory. Or you can download the CA certificate and then set the configuration option ssl-authority-files to trust that CA.
See the SSL Certificate Management section in the book.
answered Jul 8 '09 at 21:04
ZoredacheZoredache
113k31233380
113k31233380
I'm in a very strange situation here, see serverfault.com/questions/7648/…, so I want to be able to pull it off in one command.
– James McMahon
Jul 8 '09 at 21:07
add a comment |
I'm in a very strange situation here, see serverfault.com/questions/7648/…, so I want to be able to pull it off in one command.
– James McMahon
Jul 8 '09 at 21:07
I'm in a very strange situation here, see serverfault.com/questions/7648/…, so I want to be able to pull it off in one command.
– James McMahon
Jul 8 '09 at 21:07
I'm in a very strange situation here, see serverfault.com/questions/7648/…, so I want to be able to pull it off in one command.
– James McMahon
Jul 8 '09 at 21:07
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f37929%2fhow-do-you-accept-an-ssl-certificate-through-the-svn-command-line%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Would this be a better fit at Stack Overflow?
– James McMahon
Jul 8 '09 at 20:46