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
Wip rgw openssl 7 #11776
Merged
+107
−26
Merged
Wip rgw openssl 7 #11776
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2826aaa
rgw: really rebase rgw to civetweb 1.8 now
yehudasa 8308a13
rgw: cmake: remove useless civetweb include path side effect.
mdw-at-linuxbox 7caa0bd
rgw: civetweb/openssl: Load libssl.so and libcrypto.so by soname.
mdw-at-linuxbox d4e72df
rgw: Document that radosgw now supports SSL.
mdw-at-linuxbox 46ced9d
rgw: Get civetweb ssl enhancement: wip-listen4 = wip-civetweb-1.8-2 +…
mdw-at-linuxbox a113cf5
rgw: s3: secure_port should override port, also apply ssl default right.
mdw-at-linuxbox 8bc6dec
rgw: Handle multiple listening addreses w/ optional ssl "correctly" w…
mdw-at-linuxbox File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -905,17 +905,25 @@ endif(WITH_KVS) | |
if(WITH_RADOSGW) | ||
set(civetweb_common_files civetweb/src/civetweb.c) | ||
add_library(civetweb_common_objs OBJECT ${civetweb_common_files}) | ||
target_include_directories(civetweb_common_objs PUBLIC | ||
target_include_directories(civetweb_common_objs PRIVATE | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @mdw-at-linuxbox why is this needed? Also, please change the title and description of this commit |
||
"${CMAKE_SOURCE_DIR}/src/civetweb/include") | ||
set_property(TARGET civetweb_common_objs | ||
APPEND PROPERTY COMPILE_DEFINITIONS USE_IPV6=1) | ||
if(HAVE_SSL) | ||
if(USE_OPENSSL) | ||
set_property(TARGET civetweb_common_objs | ||
APPEND PROPERTY COMPILE_DEFINITIONS NO_SSL_DL=1) | ||
target_include_directories(civetweb_common_objs PUBLIC | ||
target_include_directories(civetweb_common_objs PRIVATE | ||
"${SSL_INCLUDE_DIR}") | ||
endif(HAVE_SSL) | ||
endif(USE_OPENSSL) | ||
if (LIBSSL_SONAME) | ||
set_property(TARGET civetweb_common_objs | ||
APPEND PROPERTY COMPILE_DEFINITIONS SSL_LIB="${LIBSSL_SONAME}") | ||
set_property(TARGET civetweb_common_objs | ||
APPEND PROPERTY COMPILE_DEFINITIONS CRYPTO_LIB="${LIBCRYPTO_SONAME}") | ||
endif() | ||
|
||
add_subdirectory(rgw) | ||
|
||
endif(WITH_RADOSGW) | ||
|
||
install(FILES | ||
|
Submodule civetweb
updated
96 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we clarify "unauthorized access" here? Explicitly "Only the UID that runs radosgw (the "ceph" UID) should have read access to this key file on the RGW server" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm more worried about people publishing them via the web, making them accessible company wide via puppet, or throwing printouts in the waste basket. All those "careless" things people do. So I'd rather not be too specific.