zrhoffman opened a new issue, #7508: URL: https://github.com/apache/trafficcontrol/issues/7508
<!-- ************ STOP!! ************ If this issue identifies a security vulnerability, DO NOT submit it! Instead, contact the Apache Traffic Control Security Team at [email protected] and follow the guidelines at https://apache.org/security regarding vulnerability disclosure. - For *SUPPORT QUESTIONS*, use the #traffic-control channel on the ASF slack (https://s.apache.org/tc-slack-request) or the Traffic Control Users mailing list (send an email to [email protected] to subscribe). - Before submitting, please **SEARCH GITHUB** for a similar issue or PR * https://github.com/apache/trafficcontrol/issues * https://github.com/apache/trafficcontrol/pulls --> <!-- Do not submit security vulnerabilities or support requests here - see above --> ## This Bug Report affects these Traffic Control components: <!-- delete all those that don't apply --> - Traffic Ops - Postinstall unit tests ## Current behavior: <!-- Describe how the bug happens --> Postinstall unit tests fail with this as the last line (with a different tmp path each time): ```shell Incorrect key file, expected PEM RSA private key, got: /tmp/tmp.gmrAp41qSf/etc/pki/tls/private/localhost.key: ASCII text ``` ## Expected behavior: <!-- Describe what the behavior would be without the bug --> Postinstall unit tests should pass ## Steps to reproduce: <!-- If the current behavior is a bug, please provide the *STEPS TO REPRODUCE* and include the applicable TC version. --> ```shell [user@computer trafficcontrol] traffic_ops/install/bin/postinstall.test.sh INFO:root:Starting postinstall INFO:root:Debug is on INFO:root:Running in automatic mode INFO:root:Using input file /tmp/tmp.FfaQttvgIR/defaults.json INFO:root:File sanity check complete - found 0 differences INFO:root:===========/opt/traffic_ops/app/conf/production/database.conf=========== INFO:root:Database configuration has been saved INFO:root:===========/opt/traffic_ops/app/conf/production/tv.conf=========== INFO:root:Database configuration has been saved INFO:root:===========/opt/traffic_ops/app/conf/ldap.conf=========== INFO:root:===========/opt/traffic_ops/install/data/json/users.json=========== INFO:root:===========/opt/traffic_ops/install/data/json/openssl_configuration.json=========== INFO:root:===========/opt/traffic_ops/install/data/json/profiles.json=========== INFO:root:Installing SSL Certificates INFO:root: We're now running a script to generate a self signed X509 SSL certificate INFO:root:Postinstall SSL Certificate Creation INFO:root:The server key has been generated INFO:root:Generating an RSA Private Server Key INFO:root:Creating a Certificate Signing Request (CSR) INFO:root:The Certificate Signing Request has been generated INFO:root:Removing the pass phrase from the server key INFO:root:The pass phrase has been removed from the server key INFO:root:Generating a Self-signed certificate INFO:root:A server key and self signed certificate has been generated INFO:root:Installing a server key and certificate INFO:root:The private key has been installed INFO:root:Installing self signed certificate INFO:root:Saving the self signed csr INFO:root: The self signed certificate has now been installed. You may obtain a certificate signed by a Certificate Authority using the server.csr file saved in the current directory. Once you have obtained a signed certificate, copy it to /tmp/tmp.FfaQttvgIR/etc/pki/tls/certs/localhost.crt and restart Traffic Ops. INFO:root:===========/opt/traffic_ops/app/conf/cdn.conf=========== DEBUG:root:No secrets found in cdn.conf file INFO:root:CDN configuration has been saved WARNING:root:no traffic vault backend configured, using default postgres WARNING:root:no traffic vault aes encryption key location specified, using default /opt/traffic_ops/app/conf/aes.key INFO:root:Generating an AES encryption key to /tmp/tmp.FfaQttvgIR/opt/traffic_ops/app/conf/aes.key INFO:root:Skipping Traffic Ops restart INFO:root:Success! Postinstall complete. Incorrect key file, expected PEM RSA private key, got: /tmp/tmp.FfaQttvgIR/etc/pki/tls/private/localhost.key: ASCII text ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
