Failed to renew expired certificate

My domain is:
iMultiware.com

I ran this command:

  1. sudo /opt/bitnami/ctlscript.sh stop
  2. sudo /opt/bitnami/letsencrypt/lego --tls --email="********@mail.com" --domains="iMultiware.com" --path="/opt/bitnami/letsencrypt" renew --days 90
  3. sudo /opt/bitnami/ctlscript.sh start

It produced this output:
2020/12/26 10:14:33 [INFO] [iMultiware.com] acme: Trying renewal with -38 hours remaining
2020/12/26 10:14:33 [INFO] [imultiware.com, iMultiware.com] acme: Obtaining bundled SAN certificate
2020/12/26 10:14:34 [INFO] [imultiware.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/**********
2020/12/26 10:14:34 [INFO] [imultiware.com] acme: authorization already valid; skipping challenge
2020/12/26 10:14:34 [INFO] [imultiware.com, iMultiware.com] acme: Validations succeeded; requesting certificates
2020/12/26 10:14:36 [INFO] [imultiware.com] Server responded with a certificate.

My web server is (include version):
Bitnami 5.6-1

The operating system my web server runs on is (include version):
Debian 10

My hosting provider, if applicable, is:
Amazon Web Service

I can login to a root shell on my machine (yes or no, or I don't know):
I think so

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
By SSH only

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
Command not found So may i am not using it

2 Likes

Certificates are NOT case sensitive.
That is the same name listed twice.
Not sure if that is part of your problem, nor if you have resolved it already...
This seems like you did get a cert thou:

2 Likes

Checking the site, I see that the cert used did expire a few days ago.
SSL Server Test: imultiware.com (Powered by Qualys SSL Labs)

First, I would try it using only lower case letters.
If that fails, I would try restarting the server and then try again.
If that fails, I would have to review the scripts closer to see what they are doing.

2 Likes

Hi @rg305 thanks for you response

Actually I don't know how twice name happened but i not think it's the problem ..

I try to restart the server same problem

I check in other day still same problem and now its showing that i reached the certificate issue limit ..

It's look like the server is accept the certificate but not active ..

3 Likes

Yes I do see 5 certs issued recently:
crt.sh | imultiware.com

So that part works (getting the cert).
We need to breakdown the script to see what it does after getting the cert (which fails now).

Please show:
cat /opt/bitnami/ctlscript.sh

2 Likes

@rg305 some parts from beginning is missing due i use it by smart phone now, if it not enough i will do by pc ..

 if test -x $MARIADB_SCRIPT; then
    $MARIADB_SCRIPT stop
    MARIADB_ERROR=$?
    sleep 2
fi
elif [ "x$2" = "xmysql" ]; then
if test -x $MYSQL_SCRIPT; then
    $MYSQL_SCRIPT stop
    MYSQL_ERROR=$?
    sleep 2
fi
elif [ "x$2" = "xpostgresql" ]; then
if test -x $POSTGRESQL_SCRIPT; then
    $POSTGRESQL_SCRIPT stop
    POSTGRESQL_ERROR=$?
    sleep 5
fi
elif [ "x$2" = "xmongodb" ]; then
if test -x $MONGODB_SCRIPT; then
    $MONGODB_SCRIPT stop
    MONGODB_ERROR=$?
    sleep 2
fi
elif [ "x$2" = "xingres" ]; then
if test -x $INGRES_SCRIPT; then
    $INGRES_SCRIPT stop
    INGRES_ERROR=$?
    sleep 5
fi
elif [ "x$2" = "xlibreoffice" ]; then
if test -x $LIBREOFFICE_SCRIPT; then
    $LIBREOFFICE_SCRIPT stop
    LIBREOFFICE_ERROR=$?
fi
elif [ "x$2" = "xhypersonic" ]; then
if test -x $HYPERSONIC_SCRIPT; then
    $HYPERSONIC_SCRIPT stop
    HYPERSONIC_ERROR=$?
fi
elif [ "x$2" = "xmemcached" ]; then
if test -x $MEMCACHED_SCRIPT; then
    $MEMCACHED_SCRIPT stop
    MEMCACHED_ERROR=$?
fi
elif [ "x$2" = "xsolr" ]; then
if test -x $SOLR_SCRIPT; then
    $SOLR_SCRIPT stop
    SOLR_ERROR=$?
fi
elif [ "x$2" = "xelasticsearch" ]; then
if test -x $ELASTICSEARCH_SCRIPT; then
    $ELASTICSEARCH_SCRIPT stop
    ELASTICSEARCH_ERROR=$?
fi
elif [ "x$2" = "xlogstash" ]; then
if test -x $LOGSTASH_SCRIPT; then
    $LOGSTASH_SCRIPT stop
    LOGSTASH_ERROR=$?
fi
elif [ "x$2" = "xkibana" ]; then
if test -x $KIBANA_SCRIPT; then
    $KIBANA_SCRIPT stop
    KIBANA_ERROR=$?
fi
elif [ "x$2" = "xtomcat" ]; then
if test -x $TOMCAT_SCRIPT; then
    $TOMCAT_SCRIPT stop
    TOMCAT_ERROR=$?
fi
elif [ "x$2" = "xresin" ]; then
if test -x $RESIN_SCRIPT; then
    $RESIN_SCRIPT stop
    RESIN_ERROR=$?
fi
elif [ "x$2" = "xredis" ]; then
if test -x $REDIS_SCRIPT; then
    $REDIS_SCRIPT stop
    REDIS_ERROR=$?
fi
#RUBY_APPLICATION_STOP
elif [ "x$2" = "xrabbitmq" ]; then
if test -x $RABBITMQ_SCRIPT; then
    $RABBITMQ_SCRIPT stop
    RABBITMQ_ERROR=$?
fi
elif [ "x$2" = "xactivemq" ]; then
if test -x $ACTIVEMQ_SCRIPT; then
    $ACTIVEMQ_SCRIPT stop
    ACTIVEMQ_ERROR=$?
fi
elif [ "x$2" = "xzope_application" ]; then
if test -x $ZOPE_SCRIPT; then
    $ZOPE_SCRIPT stop
    ZOPE_ERROR=$?
fi
elif [ "x$2" = "xlucene" ]; then
if test -x $LUCENE_SCRIPT; then
    $LUCENE_SCRIPT stop
    LUCENE_ERROR=$?
fi
elif [ "x$2" = "xnginx" ]; then
if test -x $NGINX_SCRIPT; then
    $NGINX_SCRIPT stop
    NGINX_ERROR=$?
fi
elif [ "x$2" = "xapache" ]; then
if test -x $APACHE_SCRIPT; then
    $APACHE_SCRIPT stop
    APACHE_ERROR=$?
fi
elif [ "x$2" = "xhhvm" ]; then
if test -x $HHVM_SCRIPT; then
    $HHVM_SCRIPT stop
    HHVM_ERROR=$?
fi
elif [ "x$2" = "xphp-fpm" ]; then
if test -x $PHPFPM_SCRIPT; then
    $PHPFPM_SCRIPT stop
    PHPFPM_ERROR=$?
fi
elif [ "x$2" = "xvarnish" ]; then
if test -x $VARNISH_SCRIPT; then
    $VARNISH_SCRIPT stop
    VARNISH_ERROR=$?
fi

elif [ "x$2" = "xsubversion" ]; then
if test -x $SUBVERSION_SCRIPT; then
    $SUBVERSION_SCRIPT stop
    SUBVERSION_ERROR=$?
fi
elif [ "x$2" = "xthird_application" ]; then
if test -x $THIRD_SCRIPT; then
    $THIRD_SCRIPT stop
    THIRD_ERROR=$?
fi
elif [ "x$2" = "xnagios" ]; then
if test -x $NAGIOS_SCRIPT; then
    $NAGIOS_SCRIPT stop
    NAGIOS_ERROR=$?
fi
elif [ "x$2" = "xjetty" ]; then
if test -x $JETTY_SCRIPT; then
    $JETTY_SCRIPT stop
    JETTY_ERROR=$?
fi
elif [ "x$2" = "x" ]; then
if test -x $HYPERSONIC_SCRIPT; then
    $HYPERSONIC_SCRIPT stop
    HYPERSONIC_ERROR=$?
fi
if test -x $JETTY_SCRIPT; then
    $JETTY_SCRIPT stop
    JETTY_ERROR=$?
fi
if test -x $NAGIOS_SCRIPT; then
    $NAGIOS_SCRIPT stop
    NAGIOS_ERROR=$?
fi
if test -x $THIRD_SCRIPT; then
    $THIRD_SCRIPT stop
    THIRD_ERROR=$?
fi
if test -x $SUBVERSION_SCRIPT; then
    $SUBVERSION_SCRIPT stop
    SUBVERSION_ERROR=$?
fi
if test -x $NGINX_SCRIPT; then
    $NGINX_SCRIPT stop
    NGINX_ERROR=$?
fi
if test -x $APACHE_SCRIPT; then
    $APACHE_SCRIPT stop
    APACHE_ERROR=$?
fi
if test -x $PHPFPM_SCRIPT; then
    $PHPFPM_SCRIPT stop
    PHPFPM_ERROR=$?
fi
if test -x $HHVM_SCRIPT; then
    $HHVM_SCRIPT stop
    HHVM_ERROR=$?
fi
if test -x $VARNISH_SCRIPT; then
    $VARNISH_SCRIPT stop
    VARNISH_ERROR=$?
    sleep 3
fi
#RUBY_APPLICATION_GENERIC_STOP

if test -x $ZOPE_SCRIPT; then
    $ZOPE_SCRIPT stop
    ZOPE_ERROR=$?
fi
if test -x $RABBITMQ_SCRIPT; then
    $RABBITMQ_SCRIPT stop
    RABBITMQ_ERROR=$?
fi
if test -x $ACTIVEMQ_SCRIPT; then
    $ACTIVEMQ_SCRIPT stop
    ACTIVEMQ_ERROR=$?
fi
if test -x $LUCENE_SCRIPT; then
    $LUCENE_SCRIPT stop
    LUCENE_ERROR=$?
fi
if test -x $SOLR_SCRIPT; then
    $SOLR_SCRIPT stop
    SOLR_ERROR=$?
    sleep 3
fi
if test -x $ELASTICSEARCH_SCRIPT; then
    $ELASTICSEARCH_SCRIPT stop
    ELASTICSEARCH_ERROR=$?
fi
if test -x $LOGSTASH_SCRIPT; then
    $LOGSTASH_SCRIPT stop
    LOGSTASH_ERROR=$?
fi
if test -x $KIBANA_SCRIPT; then
    $KIBANA_SCRIPT stop
    KIBANA_ERROR=$?
fi
if test -x $TOMCAT_SCRIPT; then
    $TOMCAT_SCRIPT stop
    TOMCAT_ERROR=$?
    sleep 3
fi
if test -x $RESIN_SCRIPT; then
    $RESIN_SCRIPT stop
    RESIN_ERROR=$?
    sleep 3
fi
if test -x $REDIS_SCRIPT; then
    $REDIS_SCRIPT stop
    REDIS_ERROR=$?
    sleep 3
fi
if test -x $MEMCACHED_SCRIPT; then
    $MEMCACHED_SCRIPT stop
    MEMCACHED_ERROR=$?
fi
if test -x $LIBREOFFICE_SCRIPT; then
    $LIBREOFFICE_SCRIPT stop
    LIBREOFFICE_ERROR=$?
fi
if test -x $MARIADB_SCRIPT; then
    $MARIADB_SCRIPT stop
    MARIADB_ERROR=$?
fi
if test -x $MYSQL_SCRIPT; then
    $MYSQL_SCRIPT stop
    MYSQL_ERROR=$?
fi
if test -x $MONGODB_SCRIPT; then
    $MONGODB_SCRIPT stop
    MONGODB_ERROR=$?
fi
if test -x $INGRES_SCRIPT; then
    $INGRES_SCRIPT stop
    INGRES_ERROR=$?
fi
if test -x $POSTGRESQL_SCRIPT; then
    $POSTGRESQL_SCRIPT stop
    POSTGRESQL_ERROR=$?
fi
else
help
fi

elif [ "x$1" = "xrestart" ]; then

if [ "x$2" = "xmariadb" ]; then
if test -x $MARIADB_SCRIPT; then
    $MARIADB_SCRIPT stop
    sleep 2
    $MARIADB_SCRIPT start
    MARIADB_ERROR=$?
fi
elif [ "x$2" = "xmysql" ]; then
if test -x $MYSQL_SCRIPT; then
    $MYSQL_SCRIPT stop
    sleep 2
    $MYSQL_SCRIPT start
    MYSQL_ERROR=$?
fi
elif [ "x$2" = "xpostgresql" ]; then
if test -x $POSTGRESQL_SCRIPT; then
    $POSTGRESQL_SCRIPT stop
    sleep 5
    $POSTGRESQL_SCRIPT start
    POSTGRESQL_ERROR=$?
fi
elif [ "x$2" = "xmongodb" ]; then
if test -x $MONGODB_SCRIPT; then
    $MONGODB_SCRIPT stop
    sleep 2
    $MONGODB_SCRIPT start
    MONGODB_ERROR=$?
fi
   elif [ "x$2" = "xingres" ]; then
if test -x $INGRES_SCRIPT; then
    $INGRES_SCRIPT stop
    sleep 5
    $INGRES_SCRIPT start
    INGRES_ERROR=$?
fi
elif [ "x$2" = "xlibreoffice" ]; then
if test -x $LIBREOFFICE_SCRIPT; then
    $LIBREOFFICE_SCRIPT stop
    sleep 2
    $LIBREOFFICE_SCRIPT start
    LIBREOFFICE_ERROR=$?
fi
elif [ "x$2" = "xhypersonic" ]; then
if test -x $HYPERSONIC_SCRIPT; then
    $HYPERSONIC_SCRIPT stop
    sleep 2
    $HYPERSONIC_SCRIPT start
    HYPERSONIC_ERROR=$?
fi
elif [ "x$2" = "xmemcached" ]; then
if test -x $MEMCACHED_SCRIPT; then
    $MEMCACHED_SCRIPT stop
    $MEMCACHED_SCRIPT start
    MEMCACHED_ERROR=$?
fi
elif [ "x$2" = "xsolr" ]; then
if test -x $SOLR_SCRIPT; then
    $SOLR_SCRIPT stop
    sleep 5
    $SOLR_SCRIPT start
    SOLR_ERROR=$?
fi
elif [ "x$2" = "xelasticsearch" ]; then
if test -x $ELASTICSEARCH_SCRIPT; then
    $ELASTICSEARCH_SCRIPT stop
    sleep 3
    $ELASTICSEARCH_SCRIPT start
    ELASTICSEARCH_ERROR=$?
fi
elif [ "x$2" = "xlogstash" ]; then
if test -x $LOGSTASH_SCRIPT; then
    $LOGSTASH_SCRIPT stop
    sleep 3
    $LOGSTASH_SCRIPT start
    LOGSTASH_ERROR=$?
fi
elif [ "x$2" = "xkibana" ]; then
if test -x $KIBANA_SCRIPT; then
    $KIBANA_SCRIPT stop
    sleep 3
    $KIBANA_SCRIPT start
    KIBANA_ERROR=$?
fi
elif [ "x$2" = "xtomcat" ]; then
if test -x $TOMCAT_SCRIPT; then
    $TOMCAT_SCRIPT stop
    sleep 5
    $TOMCAT_SCRIPT start
    TOMCAT_ERROR=$?
fi
elif [ "x$2" = "xresin" ]; then
if test -x $RESIN_SCRIPT; then
    $RESIN_SCRIPT stop
    sleep 5
    $RESIN_SCRIPT start
    RESIN_ERROR=$?
fi
elif [ "x$2" = "xredis" ]; then
if test -x $REDIS_SCRIPT; then
    $REDIS_SCRIPT stop
    sleep 5
    $REDIS_SCRIPT start
    REDIS_ERROR=$?
fi
#RUBY_APPLICATION_RESTART

elif [ "x$2" = "xrabbitmq" ]; then
if test -x $RABBITMQ_SCRIPT; then
    $RABBITMQ_SCRIPT stop
    sleep 2
    $RABBITMQ_SCRIPT start
    RABBITMQ_ERROR=$?
fi
elif [ "x$2" = "xactivemq" ]; then
if test -x $ACTIVEMQ_SCRIPT; then
    $ACTIVEMQ_SCRIPT stop
    sleep 2
    $ACTIVEMQ_SCRIPT start
    ACTIVEMQ_ERROR=$?
fi
elif [ "x$2" = "xzope_application" ]; then
if test -x $ZOPE_SCRIPT; then
    $ZOPE_SCRIPT stop
    sleep 2
    $ZOPE_SCRIPT start
    ZOPE_ERROR=$?
fi
elif [ "x$2" = "xlucene" ]; then
if test -x $LUCENE_SCRIPT; then
    $LUCENE_SCRIPT stop
    sleep 2
    $LUCENE_SCRIPT start
    LUCENE_ERROR=$?
fi
elif [ "x$2" = "xphp-fpm" ]; then
if test -x $PHPFPM_SCRIPT; then
    $PHPFPM_SCRIPT stop
    sleep 2
    $PHPFPM_SCRIPT start
    PHPFPM_ERROR=$?
fi
elif [ "x$2" = "xhhvm" ]; then
if test -x $HHVM_SCRIPT; then
    $HHVM_SCRIPT stop
    sleep 2
    $HHVM_SCRIPT start
    HHVM_ERROR=$?
fi
elif [ "x$2" = "xapache" ]; then
if test -x $APACHE_SCRIPT; then
    $APACHE_SCRIPT stop
    sleep 2
    $APACHE_SCRIPT start
    APACHE_ERROR=$?
fi
elif [ "x$2" = "xvarnish" ]; then
if test -x $VARNISH_SCRIPT; then
    $VARNISH_SCRIPT stop
    sleep 5
    $VARNISH_SCRIPT start
    VARNISH_ERROR=$?
fi

elif [ "x$2" = "xnginx" ]; then
if test -x $NGINX_SCRIPT; then
    $NGINX_SCRIPT stop
    sleep 2
    $NGINX_SCRIPT start
    NGINX_ERROR=$?
fi
elif [ "x$2" = "xsubversion" ]; then
if test -x $SUBVERSION_SCRIPT; then
    $SUBVERSION_SCRIPT stop
    sleep 2
    $SUBVERSION_SCRIPT start
    SUBVERSION_ERROR=$?
fi
elif [ "x$2" = "xthird_application" ]; then
if test -x $THIRD_SCRIPT; then
    $THIRD_SCRIPT stop
    sleep 2
    $THIRD_SCRIPT start
    THIRD_ERROR=$?
fi
elif [ "x$2" = "xnagios" ]; then
if test -x $NAGIOS_SCRIPT; then
    $NAGIOS_SCRIPT stop
    sleep 2
    $NAGIOS_SCRIPT start
    NAGIOS_ERROR=$?
fi
elif [ "x$2" = "xjetty" ]; then
if test -x $JETTY_SCRIPT; then
    $JETTY_SCRIPT stop
    sleep 2
    $JETTY_SCRIPT start
    JETTY_ERROR=$?
fi
elif [ "x$2" = "x" ]; then
if test -x $HYPERSONIC_SCRIPT; then
    $HYPERSONIC_SCRIPT stop
    HYPERSONIC_ERROR=$?
fi
if test -x $JETTY_SCRIPT; then
    $JETTY_SCRIPT stop
    JETTY_ERROR=$?
fi
if test -x $NAGIOS_SCRIPT; then
    $NAGIOS_SCRIPT stop
    NAGIOS_ERROR=$?
fi
if test -x $THIRD_SCRIPT; then
    $THIRD_SCRIPT stop
    THIRD_ERROR=$?
fi
if test -x $SUBVERSION_SCRIPT; then
    $SUBVERSION_SCRIPT stop
    SUBVERSION_ERROR=$?
fi
if test -x $NGINX_SCRIPT; then
    $NGINX_SCRIPT stop
    NGINX_ERROR=$?
fi
if test -x $VARNISH_SCRIPT; then
    $VARNISH_SCRIPT stop
    VARNISH_ERROR=$?
fi
if test -x $APACHE_SCRIPT; then
    $APACHE_SCRIPT stop
    APACHE_ERROR=$?
fi
if test -x $PHPFPM_SCRIPT; then
    $PHPFPM_SCRIPT stop
    PHPFPM_ERROR=$?
fi
if test -x $HHVM_SCRIPT; then
    $HHVM_SCRIPT stop
    HHVM_ERROR=$?
fi
#RUBY_APPLICATION_GENERIC_STOP
if test -x $ZOPE_SCRIPT; then
    $ZOPE_SCRIPT stop
    ZOPE_ERROR=$?
fi
if test -x $LUCENE_SCRIPT; then
    $LUCENE_SCRIPT stop
    LUCENE_ERROR=$?
fi
if test -x $TOMCAT_SCRIPT; then
    $TOMCAT_SCRIPT stop
    TOMCAT_ERROR=$?
fi
if test -x $SOLR_SCRIPT; then
    $SOLR_SCRIPT stop
    SOLR_ERROR=$?
fi
if test -x $ELASTICSEARCH_SCRIPT; then
    $ELASTICSEARCH_SCRIPT stop
    ELASTICSEARCH_ERROR=$?
fi
if test -x $LOGSTASH_SCRIPT; then
    $LOGSTASH_SCRIPT stop
    LOGSTASH_ERROR=$?
fi
if test -x $KIBANA_SCRIPT; then
    $KIBANA_SCRIPT stop
    KIBANA_ERROR=$?
fi
if test -x $RESIN_SCRIPT; then
    $RESIN_SCRIPT stop
    RESIN_ERROR=$?
fi
if test -x $REDIS_SCRIPT; then
    $REDIS_SCRIPT stop
    REDIS_ERROR=$?
fi
if test -x $ACTIVEMQ_SCRIPT; then
    $ACTIVEMQ_SCRIPT stop
    ACTIVEMQ_ERROR=$?
fi
if test -x $MEMCACHED_SCRIPT; then
    $MEMCACHED_SCRIPT stop
    MEMCACHED_ERROR=$?
fi
if test -x $LIBREOFFICE_SCRIPT; then
    $LIBREOFFICE_SCRIPT stop
    LIBREOFFICE_ERROR=$?
fi
if test -x $MARIADB_SCRIPT; then
    $MARIADB_SCRIPT stop
    sleep 2
    $MARIADB_SCRIPT start;
    MARIADB_ERROR=$?
    sleep 2
fi
if test -x $MYSQL_SCRIPT; then
    $MYSQL_SCRIPT stop
    sleep 2
    $MYSQL_SCRIPT start;
    MYSQL_ERROR=$?
    sleep 2
fi
if test -x $POSTGRESQL_SCRIPT; then
    $POSTGRESQL_SCRIPT stop
    sleep 2
    $POSTGRESQL_SCRIPT start;
    POSTGRESQL_ERROR=$?
    sleep 2
fi
if test -x $MONGODB_SCRIPT; then
    $MONGODB_SCRIPT stop
    sleep 2
    $MONGODB_SCRIPT start;
    MONGODB_ERROR=$?
    sleep 2
fi
if test -x $INGRES_SCRIPT; then
    $INGRES_SCRIPT stop
    sleep 7
    $INGRES_SCRIPT start;
    INGRES_ERROR=$?
    sleep 2
fi
if test -x $MEMCACHED_SCRIPT; then
    $MEMCACHED_SCRIPT start
    MEMCACHED_ERROR=$?
fi
if test -x $LIBREOFFICE_SCRIPT; then
    $LIBREOFFICE_SCRIPT start
    LIBREOFFICE_ERROR=$?
fi
if test -x $SOLR_SCRIPT; then
    $SOLR_SCRIPT start
    SOLR_ERROR=$?
fi
if test -x $ELASTICSEARCH_SCRIPT; then
    $ELASTICSEARCH_SCRIPT start
    ELASTICSEARCH_ERROR=$?
fi
if test -x $LOGSTASH_SCRIPT; then
    $LOGSTASH_SCRIPT start
    LOGSTASH_ERROR=$?
fi
if test -x $KIBANA_SCRIPT; then
    $KIBANA_SCRIPT start
    KIBANA_ERROR=$?
fi
if test -x $TOMCAT_SCRIPT; then
    $TOMCAT_SCRIPT start
    TOMCAT_ERROR=$?
fi
if test -x $RESIN_SCRIPT; then
    $RESIN_SCRIPT start
    RESIN_ERROR=$?
fi
if test -x $REDIS_SCRIPT; then
    $REDIS_SCRIPT start
    REDIS_ERROR=$?
fi
#RUBY_APPLICATION_GENERIC_START
if test -x $RABBITMQ_SCRIPT; then
    $RABBITMQ_SCRIPT start
    RABBITMQ_ERROR=$?
fi
if test -x $ACTIVEMQ_SCRIPT; then
    $ACTIVEMQ_SCRIPT start
    ACTIVEMQ_ERROR=$?
fi
if test -x $ZOPE_SCRIPT; then
    $ZOPE_SCRIPT start
    ZOPE_ERROR=$?
fi
if test -x $PHPFPM_SCRIPT; then
    $PHPFPM_SCRIPT start
    PHPFPM_ERROR=$?
fi
if test -x $HHVM_SCRIPT; then
    $HHVM_SCRIPT start
    HHVM_ERROR=$?
fi
if test -x $APACHE_SCRIPT; then
    $APACHE_SCRIPT start
    APACHE_ERROR=$?
fi
if test -x $VARNISH_SCRIPT; then
    $VARNISH_SCRIPT start
    VARNISH_ERROR=$?
fi
if test -x $NGINX_SCRIPT; then
    $NGINX_SCRIPT start
    NGINX_ERROR=$?
fi
if test -x $SUBVERSION_SCRIPT; then
    $SUBVERSION_SCRIPT start
    SUBVERSION_ERROR=$?
fi
if test -x $THIRD_SCRIPT; then
    $THIRD_SCRIPT start
    THIRD_ERROR=$?
fi
if test -x $NAGIOS_SCRIPT; then
    $NAGIOS_SCRIPT start
    NAGIOS_ERROR=$?
fi
if test -x $JETTY_SCRIPT; then
    $JETTY_SCRIPT start
    JETTY_ERROR=$?
fi
if test -x $HYPERSONIC_SCRIPT; then
    $HYPERSONIC_SCRIPT start
    HYPERSONIC_ERROR=$?
fi
else
help
fi

elif [ "x$1" = "xstatus" ]; then

if [ "x$2" = "xmariadb" ]; then
if test -x $MARIADB_SCRIPT; then
    $MARIADB_SCRIPT status
    sleep 2
fi
elif [ "x$2" = "xmysql" ]; then
if test -x $MYSQL_SCRIPT; then
    $MYSQL_SCRIPT status
    sleep 2
fi
elif [ "x$2" = "xlibreoffice" ]; then
if test -x $LIBREOFFICE_SCRIPT; then
    $LIBREOFFICE_SCRIPT status
fi
elif [ "x$2" = "xmongodb" ]; then
if test -x $MONGODB_SCRIPT; then
    $MONGODB_SCRIPT status
fi
elif [ "x$2" = "xingres" ]; then
if test -x $INGRES_SCRIPT; then
    $INGRES_SCRIPT status
fi
elif [ "x$2" = "xpostgresql" ]; then
if test -x $POSTGRESQL_SCRIPT; then
    $POSTGRESQL_SCRIPT status
    sleep 2
fi
elif [ "x$2" = "xhypersonic" ]; then
if test -x $HYPERSONIC_SCRIPT; then
    $HYPERSONIC_SCRIPT status
fi
elif [ "x$2" = "xmemcached" ]; then
if test -x $MEMCACHED_SCRIPT; then
    $MEMCACHED_SCRIPT status
fi
elif [ "x$2" = "xsolr" ]; then
if test -x $SOLR_SCRIPT; then
    $SOLR_SCRIPT status
fi
elif [ "x$2" = "xelasticsearch" ]; then
if test -x $ELASTICSEARCH_SCRIPT; then
    $ELASTICSEARCH_SCRIPT status
fi
elif [ "x$2" = "xlogstash" ]; then
if test -x $LOGSTASH_SCRIPT; then
    $LOGSTASH_SCRIPT status
fi
elif [ "x$2" = "xkibana" ]; then
if test -x $KIBANA_SCRIPT; then
    $KIBANA_SCRIPT status
fi
elif [ "x$2" = "xtomcat" ]; then
if test -x $TOMCAT_SCRIPT; then
    $TOMCAT_SCRIPT status
fi
elif [ "x$2" = "xresin" ]; then
if test -x $RESIN_SCRIPT; then
    $RESIN_SCRIPT status
fi
elif [ "x$2" = "xredis" ]; then
if test -x $REDIS_SCRIPT; then
    $REDIS_SCRIPT status
fi
#RUBY_APPLICATION_STATUS
elif [ "x$2" = "xrabbitmq" ]; then
if test -x $RABBITMQ_SCRIPT; then
    $RABBITMQ_SCRIPT status
fi
elif [ "x$2" = "xactivemq" ]; then
if test -x $ACTIVEMQ_SCRIPT; then
    $ACTIVEMQ_SCRIPT status
fi
elif [ "x$2" = "xzope_application" ]; then
if test -x $ZOPE_SCRIPT; then
    $ZOPE_SCRIPT status
fi
elif [ "x$2" = "xlucene" ]; then
if test -x $LUCENE_SCRIPT; then
    $LUCENE_SCRIPT status
fi
elif [ "x$2" = "xapache" ]; then
if test -x $APACHE_SCRIPT; then
    $APACHE_SCRIPT status
fi
elif [ "x$2" = "xphp-fpm" ]; then
if test -x $PHPFPM_SCRIPT; then
    $PHPFPM_SCRIPT status
fi
elif [ "x$2" = "xhhvm" ]; then
if test -x $HHVM_SCRIPT; then
    $HHVM_SCRIPT status
fi
elif [ "x$2" = "xvarnish" ]; then
if test -x $VARNISH_SCRIPT; then
    $VARNISH_SCRIPT status
fi
elif [ "x$2" = "xnginx" ]; then
if test -x $NGINX_SCRIPT; then
    $NGINX_SCRIPT status
fi
elif [ "x$2" = "xsubversion" ]; then
if test -x $SUBVERSION_SCRIPT; then
    $SUBVERSION_SCRIPT status
fi
elif [ "x$2" = "xthird_application" ]; then
if test -x $THIRD_SCRIPT; then
    $THIRD_SCRIPT status
fi
elif [ "x$2" = "xnagios" ]; then
if test -x $NAGIOS_SCRIPT; then
    $NAGIOS_SCRIPT status
fi
elif [ "x$2" = "xjetty" ]; then
if test -x $JETTY_SCRIPT; then
    $JETTY_SCRIPT status
fi
elif [ "x$2" = "x" ]; then
if test -x $HYPERSONIC_SCRIPT; then
    $HYPERSONIC_SCRIPT status
fi
if test -x $JETTY_SCRIPT; then
    $JETTY_SCRIPT status
fi
if test -x $NAGIOS_SCRIPT; then
    $NAGIOS_SCRIPT status
fi
if test -x $THIRD_SCRIPT; then
    $THIRD_SCRIPT status
fi
if test -x $SUBVERSION_SCRIPT; then
    $SUBVERSION_SCRIPT status
fi
if test -x $NGINX_SCRIPT; then
    $NGINX_SCRIPT status
fi
if test -x $VARNISH_SCRIPT; then
    $VARNISH_SCRIPT status
    sleep 3
fi
if test -x $PHPFPM_SCRIPT; then
    $PHPFPM_SCRIPT status
fi
if test -x $HHVM_SCRIPT; then
    $HHVM_SCRIPT status
fi
if test -x $APACHE_SCRIPT; then
    $APACHE_SCRIPT status
fi
#RUBY_APPLICATION_GENERIC_STATUS
if test -x $RABBITMQ_SCRIPT; then
    $RABBITMQ_SCRIPT status
fi
if test -x $ACTIVEMQ_SCRIPT; then
    $ACTIVEMQ_SCRIPT status
fi
if test -x $ZOPE_SCRIPT; then
    $ZOPE_SCRIPT status
fi
if test -x $LUCENE_SCRIPT; then
    $LUCENE_SCRIPT status
fi
if test -x $INGRES_SCRIPT; then
    $INGRES_SCRIPT status
fi
if test -x $SOLR_SCRIPT; then
    $SOLR_SCRIPT status
    sleep 3
fi
if test -x $ELASTICSEARCH_SCRIPT; then
    $ELASTICSEARCH_SCRIPT status
fi
if test -x $LOGSTASH_SCRIPT; then
    $LOGSTASH_SCRIPT status
fi
if test -x $KIBANA_SCRIPT; then
    $KIBANA_SCRIPT status
fi
if test -x $TOMCAT_SCRIPT; then
    $TOMCAT_SCRIPT status
    sleep 3
fi
if test -x $RESIN_SCRIPT; then
    $RESIN_SCRIPT status
    sleep 3
fi
if test -x $REDIS_SCRIPT; then
    $REDIS_SCRIPT status
    sleep 3
fi

if test -x $LIBREOFFICE_SCRIPT; then
    $LIBREOFFICE_SCRIPT status
fi
if test -x $MARIADB_SCRIPT; then
    $MARIADB_SCRIPT status
fi
if test -x $MYSQL_SCRIPT; then
    $MYSQL_SCRIPT status
fi
if test -x $POSTGRESQL_SCRIPT; then
    $POSTGRESQL_SCRIPT status
    sleep 3
fi
if test -x $MONGODB_SCRIPT; then
    $MONGODB_SCRIPT status
fi
if test -x $MEMCACHED_SCRIPT; then
    $MEMCACHED_SCRIPT status
fi
else
help
fi
elif [ "x$1" = "xcleanpid" ]; then
if test -x $HYPERSONIC_SCRIPT; then
$HYPERSONIC_SCRIPT cleanpid
fi
if test -x $NAGIOS_SCRIPT; then
$NAGIOS_SCRIPT cleanpid
fi
if test -x $SUBVERSION_SCRIPT; then
$SUBVERSION_SCRIPT cleanpid
fi
if test -x $PHPFPM_SCRIPT; then
$PHPFPM_SCRIPT cleanpid
fi
if test -x $HHVM_SCRIPT; then
$HHVM_SCRIPT cleanpid
fi
if test -x $APACHE_SCRIPT; then
$APACHE_SCRIPT cleanpid
fi
if test -x $NGINX_SCRIPT; then
$NGINX_SCRIPT cleanpid
fi
if test -x $LUCENE_SCRIPT; then
$LUCENE_SCRIPT cleanpid
fi
if test -x $SOLR_SCRIPT; then
$SOLR_SCRIPT cleanpid
fi
if test -x $ELASTICSEARCH_SCRIPT; then
$ELASTICSEARCH_SCRIPT cleanpid
fi
if test -x $LOGSTASH_SCRIPT; then
$LOGSTASH_SCRIPT cleanpid
fi
if test -x $KIBANA_SCRIPT; then
$KIBANA_SCRIPT cleanpid
fi
if test -x $TOMCAT_SCRIPT; then
$TOMCAT_SCRIPT cleanpid
fi
if test -x $MARIADB_SCRIPT; then
$MARIADB_SCRIPT cleanpid
fi
if test -x $MYSQL_SCRIPT; then
$MYSQL_SCRIPT cleanpid
fi
if test -x $POSTGRESQL_SCRIPT; then
$POSTGRESQL_SCRIPT cleanpid
fi
if test -x $MONGODB_SCRIPT; then
$MONGODB_SCRIPT cleanpid
fi
if test -x $MEMCACHED_SCRIPT; then
$MEMCACHED_SCRIPT cleanpid
fi
if test -x $VARNISH_SCRIPT; then
$VARNISH_SCRIPT cleanpid
fi
if test -x $REDIS_SCRIPT; then
$REDIS_SCRIPT cleanpid
fi
else
help
exit 1
fi


# Enable Monit
if [ -f "$INSTALLDIR/config/monit/bitnami.conf" ] && [ `id -u` = 0 ] && [ `which monit 2> /dev/null` ] && ( [ "x$1" = "xstart" ] || [ "x$1" = "xrestart" ] ); then
if [ "x$2" = "x" ]; then
env -i monit monitor all
elif [ -f "$INSTALLDIR/config/monit/conf.d/$2.conf" ]; then
env -i monit monitor $2
fi
fi


# Checking for errors
for e in $VARNISH_ERROR $PHPFPM_ERROR $HHVM_ERROR $APACHE_ERROR $NGINX_ERROR $MARIADB_ERROR $MYSQL_ERROR $MONGODB_ERROR $CASSANDRA_ERROR $SUBVERSION_ERROR $SOLR_ERROR $ELASTICSEARCH_ERROR $LOGSTASH_ERROR $KIBANA_ERROR $TOMCAT_ERROR $REDIS_ERROR $RESIN_ERROR $MEMCACHED_ERROR $INGRES_ERROR $LIBREOFFICE_ERROR $LUCENE_ERROR $ZOPE_ERROR $POSTGRESQL_ERROR $THIRD_ERROR $NAGIOS_ERROR $RABBITMQ_ERROR $ACTIVEMQ_ERROR $JETTY_ERROR $HYPERSONIC_ERROR; do
if [ $e -gt 0 ]; then
ERROR=$e
fi
done
#RUBY_APPLICATION_ERROR
# Restoring SELinux
if [ -f "/usr/sbin/getenforce" ] && [ `id -u` = 0 ] ; then
/usr/sbin/setenforce $selinux_status 2> /dev/null
fi

exit $ERROR

The script contains too many unknown variables and nested scripts to troubleshoot this way.

Perhaps there is an update to Bitnami that may help fix this problem.
Is 5.6-1 the latest?

1 Like

Hi @rg305 sorry the web server is Nginx, I will check if there's any update ..

1 Like

@rg305 nginx/1.18.0
It's last staple update

1 Like

What about Bitnami?

1 Like

I didn't resolve this, how i can resolve it maybe like what you say it's the problem ..

Thanks for your support

1 Like

Do this again one time - but use only lower case letters in the domain name.

1 Like

it's up to date also

1 Like

Try with all lower case letters.
If that fails, try this:
sudo apt install ca-certificates

See if it says:
"ca-certificates is already the newest version"
If not, then it will update.

If it updates, then try the scripts again.
If it fails to update, then I'm out of options...

1 Like

bitnami@ip:~$ sudo /opt/bitnami/ctlscript.sh stop
/opt/bitnami/nginx/scripts/ctl.sh : Nginx stopped
/opt/bitnami/php/scripts/ctl.sh : php-fpm stopped
/opt/bitnami/mysql/scripts/ctl.sh : mysql stopped

bitnami@ip:~$ sudo /opt/bitnami/letsencrypt/lego --tls --email="********@mail.com" --domains="imultiware.com" --path="/opt/bitnami/letsencrypt" renew --days 90
2020/12/31 05:47:14 [INFO] [imultiware.com] acme: Trying renewal with 2066 hours remaining
2020/12/31 05:47:14 [INFO] [imultiware.com] acme: Obtaining bundled SAN certificate
2020/12/31 05:47:14 acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rateLimited :: Error creating new order :: too many certificates already issued for exact set of domains: imultiware.com: see https://letsencrypt.org/docs/rate-limits/, url:

bitnami@ip:~$ sudo /opt/bitnami/ctlscript.sh start
/opt/bitnami/mysql/scripts/ctl.sh : mysql started
/opt/bitnami/php/scripts/ctl.sh : php-fpm started
/opt/bitnami/nginx/scripts/ctl.sh : Nginx started

bitnami@ip:~$ sudo apt install ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20200601~deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

1 Like

I was afraid of that!

And that too.
:frowning:

1 Like

Can you restart the whole server?
Have you restarted it recently?

1 Like

I didn't restart it before due it's new (4 month ago),
I will try to restart it now, what's the next step after restarting ^^

1 Like

Hopefully it would just use one of the renewed certs.

1 Like

Successfully rebooted without any changes (not renewed)

1 Like