By: Ronald R. user 24 May 2021 at 6:13 p.m. CDT

1 Response
Ronald R. gravatar
During install I receive the following error message: ``` FileNotFoundError: No such file or directory: '/etc/certs/idp-encryption.crt' ``` Setup_error.log contains the following: ``` 00:46:44 05/25/21 Installing Gluu Server 00:48:50 05/25/21 2021-05-25 00:48:50 URL:https://ox.gluu.org/maven/org/gluu/oxauth-rp/4.2.3.Final/oxauth-rp-4.2.3.Final.war [36087944/36087944] -> "/opt/dist/gluu/oxauth-rp.war" [1] 00:49:27 05/25/21 Generating RSA private key, 2048 bit long modulus (2 primes) .................+++++ ........+++++ e is 65537 (0x010001) 00:49:27 05/25/21 writing RSA key 00:49:27 05/25/21 problems making Certificate Request 139666228838848:error:0D07A097:asn1 encoding routines:ASN1_mbstring_ncopy:string too long:crypto/asn1/a_mbstr.c:107:maxsize=2 00:49:27 05/25/21 Can't open /etc/certs/httpd.csr for reading, No such file or directory 140401234006464:error:02001002:system library:fopen:No such file or directory:crypto/bio/bss_file.c:72:fopen('/etc/certs/httpd.csr','r') 140401234006464:error:2006D080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:79: 00:49:28 05/25/21 Warning: use -cacerts option to access cacerts keystore 00:49:28 05/25/21 Generating RSA private key, 2048 bit long modulus (2 primes) .............................................+++++ ....................................+++++ e is 65537 (0x010001) 00:49:28 05/25/21 writing RSA key 00:49:28 05/25/21 problems making Certificate Request 140531064811968:error:0D07A097:asn1 encoding routines:ASN1_mbstring_ncopy:string too long:crypto/asn1/a_mbstr.c:107:maxsize=2 00:49:28 05/25/21 Can't open /etc/certs/shibIDP.csr for reading, No such file or directory 140667767669184:error:02001002:system library:fopen:No such file or directory:crypto/bio/bss_file.c:72:fopen('/etc/certs/shibIDP.csr','r') 140667767669184:error:2006D080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:79: 00:49:29 05/25/21 Warning: use -cacerts option to access cacerts keystore 00:49:29 05/25/21 Generating RSA private key, 2048 bit long modulus (2 primes) .......................................................................................+++++ ........+++++ e is 65537 (0x010001) 00:49:29 05/25/21 writing RSA key 00:49:29 05/25/21 problems making Certificate Request 139855365251520:error:0D07A097:asn1 encoding routines:ASN1_mbstring_ncopy:string too long:crypto/asn1/a_mbstr.c:107:maxsize=2 00:49:29 05/25/21 Can't open /etc/certs/idp-encryption.csr for reading, No such file or directory 140611745821120:error:02001002:system library:fopen:No such file or directory:crypto/bio/bss_file.c:72:fopen('/etc/certs/idp-encryption.csr','r') 140611745821120:error:2006D080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:79: 00:49:30 05/25/21 Warning: use -cacerts option to access cacerts keystore 00:49:30 05/25/21 Generating RSA private key, 2048 bit long modulus (2 primes) ..................................+++++ ................+++++ e is 65537 (0x010001) 00:49:30 05/25/21 writing RSA key 00:49:30 05/25/21 problems making Certificate Request 140150717571520:error:0D07A097:asn1 encoding routines:ASN1_mbstring_ncopy:string too long:crypto/asn1/a_mbstr.c:107:maxsize=2 00:49:30 05/25/21 Can't open /etc/certs/idp-signing.csr for reading, No such file or directory 139882432991680:error:02001002:system library:fopen:No such file or directory:crypto/bio/bss_file.c:72:fopen('/etc/certs/idp-signing.csr','r') 139882432991680:error:2006D080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:79: 00:49:30 05/25/21 Warning: use -cacerts option to access cacerts keystore 00:49:30 05/25/21 Generating RSA private key, 2048 bit long modulus (2 primes) ...+++++ ...........................................................+++++ e is 65537 (0x010001) 00:49:30 05/25/21 writing RSA key 00:49:30 05/25/21 problems making Certificate Request 139830183600576:error:0D07A097:asn1 encoding routines:ASN1_mbstring_ncopy:string too long:crypto/asn1/a_mbstr.c:107:maxsize=2 00:49:30 05/25/21 Can't open /etc/certs/passport-sp.csr for reading, No such file or directory 140083410338240:error:02001002:system library:fopen:No such file or directory:crypto/bio/bss_file.c:72:fopen('/etc/certs/passport-sp.csr','r') 140083410338240:error:2006D080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:79: 00:49:31 05/25/21 Warning: use -cacerts option to access cacerts keystore 00:49:31 05/25/21 Can't open /etc/certs/shibIDP.crt for reading, No such file or directory 139996934287808:error:02001002:system library:fopen:No such file or directory:crypto/bio/bss_file.c:72:fopen('/etc/certs/shibIDP.crt','r') 139996934287808:error:2006D080:BIO routines:BIO_new_file:no such file:crypto/bio/bss_file.c:79: 00:49:31 05/25/21 Importing keystore /etc/certs/shibIDP.pkcs12 to /etc/certs/shibIDP.jks... 00:49:31 05/25/21 /bin/chown: cannot access '/etc/certs/shibIDP.pkcs12': No such file or directory 00:49:31 05/25/21 /bin/chmod: cannot access '/etc/certs/shibIDP.pkcs12': No such file or directory 00:49:31 05/25/21 /bin/chown: cannot access '/etc/certs/shibIDP.jks': No such file or directory 00:49:31 05/25/21 /bin/chmod: cannot access '/etc/certs/shibIDP.jks': No such file or directory 00:49:42 05/25/21 Error writing template /install/community-edition-setup/templates/node//passport 00:49:42 05/25/21 Traceback (most recent call last): File "./setup.py", line 3571, in render_templates_folder newFn.write(template_text % self.merge_dicts(coucbase_dict, self.templateRenderingDict, self.__dict__)) KeyError: 'passport_max_mem' 00:50:01 05/25/21 WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.opends.server.util.Platform$PlatformIMPL (file:/opt/opendj/lib/opendj.jar) to constructor sun.security.tools.keytool.CertAndKeyGen(java.lang.String,java.lang.String) WARNING: Please consider reporting this to the maintainers of org.opends.server.util.Platform$PlatformIMPL WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 00:50:04 05/25/21 Created symlink /etc/systemd/system/multi-user.target.wants/opendj.service → /etc/systemd/system/opendj.service. 00:51:07 05/25/21 Certificate was added to keystore 00:51:08 05/25/21 Warning: use -cacerts option to access cacerts keystore Certificate was added to keystore 00:54:48 05/25/21 Synchronizing state of apache2.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable apache2 00:54:49 05/25/21 INFO : webapp transitively enabled, ini template available with --add-to-start=webapp INFO : server initialized in ${jetty.base}/start.ini INFO : mail transitively enabled INFO : servlet transitively enabled INFO : jsp initialized in ${jetty.base}/start.ini INFO : http-forwarded initialized in ${jetty.base}/start.ini INFO : annotations initialized in ${jetty.base}/start.ini INFO : resources initialized in ${jetty.base}/start.ini INFO : transactions transitively enabled INFO : threadpool initialized in ${jetty.base}/start.ini INFO : plus transitively enabled INFO : deploy initialized in ${jetty.base}/start.ini INFO : security transitively enabled INFO : apache-jsp transitively enabled INFO : websocket initialized in ${jetty.base}/start.ini INFO : jndi transitively enabled INFO : console-capture initialized in ${jetty.base}/start.ini INFO : http initialized in ${jetty.base}/start.ini INFO : client transitively enabled INFO : bytebufferpool transitively enabled, ini template available with --add-to-start=bytebufferpool MKDIR : ${jetty.base}/resources MKDIR : ${jetty.base}/webapps MKDIR : ${jetty.base}/logs INFO : Base directory was modified 00:54:49 05/25/21 Created symlink /etc/systemd/system/multi-user.target.wants/oxauth.service → /lib/systemd/system/oxauth.service. 00:54:50 05/25/21 INFO : webapp transitively enabled, ini template available with --add-to-start=webapp INFO : server initialized in ${jetty.base}/start.ini INFO : mail transitively enabled INFO : servlet transitively enabled INFO : jsp initialized in ${jetty.base}/start.ini INFO : http-forwarded initialized in ${jetty.base}/start.ini INFO : resources initialized in ${jetty.base}/start.ini INFO : annotations transitively enabled INFO : transactions transitively enabled INFO : threadpool initialized in ${jetty.base}/start.ini INFO : plus transitively enabled INFO : deploy initialized in ${jetty.base}/start.ini INFO : security transitively enabled INFO : apache-jsp transitively enabled INFO : console-capture initialized in ${jetty.base}/start.ini INFO : jndi transitively enabled INFO : http initialized in ${jetty.base}/start.ini INFO : bytebufferpool transitively enabled, ini template available with --add-to-start=bytebufferpool MKDIR : ${jetty.base}/resources MKDIR : ${jetty.base}/webapps MKDIR : ${jetty.base}/logs INFO : Base directory was modified 00:54:50 05/25/21 Created symlink /etc/systemd/system/multi-user.target.wants/fido2.service → /lib/systemd/system/fido2.service. 00:54:51 05/25/21 INFO : webapp transitively enabled, ini template available with --add-to-start=webapp INFO : server initialized in ${jetty.base}/start.ini INFO : mail transitively enabled INFO : servlet transitively enabled INFO : jsp initialized in ${jetty.base}/start.ini INFO : http-forwarded initialized in ${jetty.base}/start.ini INFO : annotations initialized in ${jetty.base}/start.ini INFO : resources initialized in ${jetty.base}/start.ini INFO : transactions transitively enabled INFO : threadpool initialized in ${jetty.base}/start.ini INFO : plus transitively enabled INFO : deploy initialized in ${jetty.base}/start.ini INFO : security transitively enabled INFO : apache-jsp transitively enabled INFO : websocket initialized in ${jetty.base}/start.ini INFO : jndi transitively enabled INFO : console-capture initialized in ${jetty.base}/start.ini INFO : http initialized in ${jetty.base}/start.ini INFO : client transitively enabled INFO : bytebufferpool transitively enabled, ini template available with --add-to-start=bytebufferpool MKDIR : ${jetty.base}/resources MKDIR : ${jetty.base}/webapps MKDIR : ${jetty.base}/logs INFO : Base directory was modified 00:54:51 05/25/21 Created symlink /etc/systemd/system/multi-user.target.wants/identity.service → /lib/systemd/system/identity.service. 00:54:52 05/25/21 INFO : webapp transitively enabled, ini template available with --add-to-start=webapp INFO : server initialized in ${jetty.base}/start.ini INFO : mail transitively enabled INFO : servlet transitively enabled INFO : jsp initialized in ${jetty.base}/start.ini INFO : http-forwarded initialized in ${jetty.base}/start.ini INFO : resources initialized in ${jetty.base}/start.ini INFO : annotations transitively enabled INFO : transactions transitively enabled INFO : threadpool transitively enabled, ini template available with --add-to-start=threadpool INFO : plus transitively enabled INFO : deploy initialized in ${jetty.base}/start.ini INFO : security transitively enabled INFO : apache-jsp transitively enabled INFO : console-capture initialized in ${jetty.base}/start.ini INFO : jndi transitively enabled INFO : http initialized in ${jetty.base}/start.ini INFO : bytebufferpool transitively enabled, ini template available with --add-to-start=bytebufferpool MKDIR : ${jetty.base}/resources MKDIR : ${jetty.base}/webapps MKDIR : ${jetty.base}/logs INFO : Base directory was modified 00:54:53 05/25/21 Created symlink /etc/systemd/system/multi-user.target.wants/scim.service → /lib/systemd/system/scim.service. ``` I'm not sure why this happens. I've tried installing on Ubuntu 20.04 and 18.04 both with their respective repositories and both end with the same error message, while 24 hours ago I tried installing Gluu and it went without any errors. I hope anyone can help me out here. Cheers

By Ronald R. user 24 May 2021 at 7:01 p.m. CDT

Ronald R. gravatar
After trying a new installation on Debian I think I figured out the issue. During installation where the wizard asks for Country I may have used the country name instead of the 2 letter country code. I'm waiting for my debian installation to finish either with or without error. This time I'm sure I used the correct 2 letter country code.