Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
cba75740
Commit
cba75740
authored
Jun 22, 2015
by
Steven Murray
Browse files
CASTOR-5065 RFE: Give tapeserverd it's own XROOT:PrivateKey configuration entry
parent
6c2df297
Changes
2
Hide whitespace changes
Inline
Side-by-side
castor/castor.conf
View file @
cba75740
...
...
@@ -525,6 +525,10 @@
# Possible values are RFIO or XROOT. The value is not case sensitive.
#TapeServer RemoteFileProtocol RFIO
# The file hosting the Xroot private key to be used by tapeseverd to sign Xroot
# URLs.
#TapeServer XrootPrivateKey /opt/xrootd/keys/tape_pkey.pem
# Number of memory buffers in the data-transfer cache.
#TapeServer NbBufs 300
...
...
castor/tape/tapeserver/daemon/DataTransferConfig.cpp
View file @
cba75740
...
...
@@ -83,7 +83,7 @@ castor::tape::tapeserver::daemon::DataTransferConfig
config
.
remoteFileProtocol
=
castorConf
.
getConfEntString
(
"TapeServer"
,
"RemoteFileProtocol"
,
"RFIO"
,
log
);
config
.
xrootPrivateKey
=
castorConf
.
getConfEntString
(
"
XROOT"
,
"
PrivateKey"
,
"/opt/xrootd/keys/key.pem"
,
log
);
"
TapeServer"
,
"Xroot
PrivateKey"
,
"/opt/xrootd/keys/
tape_p
key.pem"
,
log
);
config
.
moverHandlerPort
=
castorConf
.
getConfEntInt
(
"DiskManager"
,
"MoverHandlerPort"
,
MOVERHANDLERPORT
,
log
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment