Skip to content

Conversation

@icewind1991
Copy link
Contributor

Required in (some?) cases to get fed. sharing working with self-signed certificates

cc @owncloud/filesystem

@icewind1991 icewind1991 added this to the 9.1-current milestone Jun 27, 2016
@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @schiessle, @PVince81 and @nickvergessen to be potential reviewers

* which might be temporary
*/
private function convertException(Exception $e, $path = '') {
\OC::$server->getLogger()->logException($e);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, I thought we logged the exception already later

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From what I can tell we log the converted exception in some cases.

Having the original exception makes it easier to track down the cause

@PVince81
Copy link
Contributor

Code looks good 👍

}
if ($this->secure === true) {
// inject mock for testing
$certPath = \OC_User::getHome(\OC_User::getUser()) . '/files_external/rootcerts.crt';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are there any migration steps required to move this file around?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the path returned should be the same.

I think the issue I ran into was the cert bundle not yet being created for the user, using the cert manager makes sure things like that are all taken care off

@DeepDiver1975
Copy link
Member

👍

@DeepDiver1975 DeepDiver1975 merged commit b400139 into master Jun 27, 2016
@DeepDiver1975 DeepDiver1975 deleted the external-dav-cert branch June 27, 2016 20:26
@lock
Copy link

lock bot commented Aug 5, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants