<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Lucida Handwriting";
panose-1:3 1 1 1 1 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">We are installing our first new instance of Shibboleth SP V3. The rpm that got installed with the yum install is shibboleth-3.0.2-1.1.x86_64. The install completes, but it does not create either the /etc/shibboleth/sp-cert.pem or the /etc/shibboleth/sp-key.pem
files, so the shibd process won’t start. It fails trying to open the key file. <o:p>
</o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The (what I think is relevant) postinstall scriptlet for V2 is
<o:p></o:p></p>
<p class="MsoNormal"># Key generation or ownership fix<o:p></o:p></p>
<p class="MsoNormal">cd /etc/shibboleth<o:p></o:p></p>
<p class="MsoNormal">if [ -f sp-key.pem ] ; then<o:p></o:p></p>
<p class="MsoNormal"> /usr/bin/chown shibd:shibd sp-key.pem sp-cert.pem 2>/dev/null || :<o:p></o:p></p>
<p class="MsoNormal">else<o:p></o:p></p>
<p class="MsoNormal"> /bin/sh ./keygen.sh -b -u shibd -g shibd<o:p></o:p></p>
<p class="MsoNormal">fi<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># Fix ownership of log files (even on new installs, if they're left from an older one).<o:p></o:p></p>
<p class="MsoNormal">/usr/bin/chown shibd:shibd /var/log/shibboleth/* 2>/dev/null || :<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The postinstall script section for V3 is<o:p></o:p></p>
<p class="MsoNormal">postinstall scriptlet (using /bin/sh):<o:p></o:p></p>
<p class="MsoNormal">/sbin/ldconfig<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># Key ownership fix.<o:p></o:p></p>
<p class="MsoNormal">if [ -f /etc/shibboleth/sp-key.pem ] ; then<o:p></o:p></p>
<p class="MsoNormal"> /usr/bin/chown shibd:shibd /etc/shibboleth/sp-key.pem /etc/shibboleth/sp-cert.pem 2>/dev/null || :<o:p></o:p></p>
<p class="MsoNormal">fi<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># Fix ownership of log files (even on new installs, if they're left from an older one).<o:p></o:p></p>
<p class="MsoNormal">/usr/bin/chown shibd:shibd /var/log/shibboleth/* 2>/dev/null || :<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># Generate two keys on new installs.<o:p></o:p></p>
<p class="MsoNormal">if [ $1 -eq 1 ] ; then<o:p></o:p></p>
<p class="MsoNormal"> cd /etc/shibboleth<o:p></o:p></p>
<p class="MsoNormal"> /bin/sh ./keygen.sh -b -n sp-signing -u shibd -g shibd<o:p></o:p></p>
<p class="MsoNormal"> /bin/sh ./keygen.sh -b -n sp-encrypt -u shibd -g shibd<o:p></o:p></p>
<p class="MsoNormal">fi<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">since I’m not running the script (rpm does) I can’t see what’s happening when the postinstall script is run, but I’m not getting the two key files. I guess I could just run the two commands to generate them anyway.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><i><span style="font-size:16.0pt;font-family:"Lucida Handwriting"">Robert Reuscher<o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black">System Administrator</span><span style="font-size:10.5pt;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#424342">Office of Shared Information Services</span></i></b><span style="font-size:10.5pt;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#424342">The University of Texas System<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#424342">4201 North State Hwy 161, Suite 200<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#424342">Irving, Texas 75038<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#424342">Office 469.284.7479</span><span style="font-size:10.5pt;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black">Follow Us: </span><span style="color:#1F497D"><a href="https://www.utsystem.edu/"><span style="font-size:10.5pt;color:#E77A33">www.utsystem.edu</span></a></span><span style="font-size:10.5pt;color:black"> | </span><span style="color:#1F497D"><a href="https://twitter.com/utsystem"><span style="font-size:10.5pt;color:#E77A33">@utsystem</span></a></span><span style="font-size:10.5pt;color:black"> | </span><span style="color:#1F497D"><a href="http://www.facebook.com/pages/University-of-Texas-System/198151343554844"><span style="font-size:10.5pt;color:#E77A33">UT
System Facebook</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><img border="0" width="300" height="58" style="width:3.125in;height:.6083in" id="Picture_x0020_1" src="cid:image001.png@01D45FC1.75BB4100" alt="horizontal-full-color-svg"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>