Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
8 replies
Subscribers
7 subscribers
Views
3094 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
If I wanted to create a keytab file using the server name for the SPN, and I hav
pattye
over 10 years ago
If I wanted to create a keytab file using the server name for the SPN, and I have the Apache web server on a separate server from the JBoss/Appian application server, which server name would I use to generate the keytab? The Apache web server? Or the JBoss/Appian application server?
ktpass /princ http/<servername>@<domain>.COM /mapuser appianuser /pass "xxxxxxxx"...
OriginalPostID-117646
OriginalPostID-117646
Discussion posts and replies are publicly visible
Parents
0
pattye
over 10 years ago
What you said makes sense about the keytab existing on the Appian server and referenced in the spring security files, that’s what I thought too. Although, I have been researching and found some sites that state if you are using a reverse proxy (which I’m guessing Apache is acting as a reverse proxy), then you would add the SPN for both the DNS and physical host name of the reverse proxy, not the application server. So maybe the SPN is for what a user would actually type into the URL to get to the resource, which would either be the DNS or host name of the Apache web server. From one site, it states “To negotiate the SPN (service principal name "HTTP/..."), the browser does a DNS lookup from the host name used in the URL, and then a reverse-DNS lookup from the answered IP address to get the FQDN of the server. This FQDN is used in the SPN.” So now I’m thinking I would use the DNS and server name of the Apache web server, but still not sure. Guess I can try that first and see what happens. Thanks.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
pattye
over 10 years ago
What you said makes sense about the keytab existing on the Appian server and referenced in the spring security files, that’s what I thought too. Although, I have been researching and found some sites that state if you are using a reverse proxy (which I’m guessing Apache is acting as a reverse proxy), then you would add the SPN for both the DNS and physical host name of the reverse proxy, not the application server. So maybe the SPN is for what a user would actually type into the URL to get to the resource, which would either be the DNS or host name of the Apache web server. From one site, it states “To negotiate the SPN (service principal name "HTTP/..."), the browser does a DNS lookup from the host name used in the URL, and then a reverse-DNS lookup from the answered IP address to get the FQDN of the server. This FQDN is used in the SPN.” So now I’m thinking I would use the DNS and server name of the Apache web server, but still not sure. Guess I can try that first and see what happens. Thanks.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data