Hello
I has a few months to play with omv and new -old features. In the mean time got an email from letsencrypt that one of my certificates for my domain in ......duckdns.org expires. So I should somehow update it.
Back then when I had it setup used this guide https://www.youtube.com/watch?v=pRt7UlQSB2g&t=21s . At some point he issued the command docker logs -f letsencrypt and I thought that this line created the cerificate since the outcome had the message <<Congradulations! Your certificate and chain have been saved at...blah blah. After a 2 month period and having received the letsencrypt email about expiration of the certificate I tried to find how to issue the update command and how that command would understand which cerificate need to update.
I came across a site issuing the openssl comand and by the command
$ echo | openssl s_client -servername NAME -connect HOST:PORT 2>/dev/null | openssl x509 -noout -dates
got an answer as to when the certificate expires. The answer was not a straight forward one since I got this outcome
notBefore=Jul 24 22:15:07 2019 GMT
notAfter=Oct 22 22:15:07 2019 GMT (It doesnt say if it ends at a specific date or it is already expired)
Anyway the real problem came afterwards since I couldnt Generate CSR From the Existing Key using OpenSSL with the command
$ openssl req -new -key example.key -out example.csr -subj "/C=GB/ST=London/L=London/O=Global Security/OU=IT Department/CN=example.com"since I didnt know what to replace with what. In addition nowhere inside the letsencrypt folder had a file with .key only .pem So I came across another site mentioning the certbot. And all went wrong after command sudo apt-get install certbot -t stretch-backportsStarted downloading stuff and somewhere I noticed a message about removing packs. It ended with an error (unfortunately didnt copy the whole procedure) and after that couldn start the web ui (getting an 403 Forbidden nginx) of OMV even if it has the same ip address as before and can SSH with PUTTY to the same IP address. I dont know what to do. Sorry for my lengthy post. PS 1.What the hell did that command alters the whole system? 2. i re-run the command but I think now it finished with no errors. Still no web access
acl acpid apt-transport-https avahi-daemon beep bind9-host btrfs-progs collectd collectd-core containerd.io
cpufrequtils cron-apt dh-python distro-info-data dmeventd docker-ce docker-ce-cli folder2ram fontconfig
fontconfig-config fonts-dejavu-core gdisk hdparm ifenslave imagemagick-6-common jfsutils jq libaio1 libavahi-client3
libavahi-common-data libavahi-common3 libavahi-core7 libbind9-140 libcairo2 libcpufreq0 libcups2 libcurl3
libcurl3-gnutls libdaemon0 libdatrie1 libdbi1 libdbus-glib-1-2 libdevmapper-event1.02.1 libdns162 libfftw3-double3
libfile-slurp-perl libfontconfig1 libgd3 libgeoip1 libgomp1 libgraphite2-3 libharfbuzz0b libisc160 libisccc140
libisccfg140 libjavascript-minifier-xs-perl libjbig0 libjpeg62-turbo libjq1 libjs-extjs6 libjs-jquery libjs-sphinxdoc
libjs-underscore libjson-perl liblcms2-2 libldb1 liblocale-po-perl liblqr-1-0 libltdl7 liblvm2cmd2.02 liblwres141
liblzo2-2 libmagic-mgc libmagic1 libmagickcore-6.q16-3 libmagickwand-6.q16-3 libmemcached11 libmemcachedutil2
libnghttp2-14 libnginx-mod-http-auth-pam libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-geoip
libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libnl-3-200 libnl-genl-3-200 libnss-mdns
libntfs-3g871 libonig4 libopenjp2-7 libopts25 libossp-uuid16 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0
libpcsclite1 libpixman-1-0 libpython2.7 libpython3.5-minimal libpython3.5-stdlib libreadline5 librrd8 librtmp1
libtalloc2 libtdb1 libtevent0 libthai-data libthai0 libtiff5 libwbclient0 libwebp6 libx11-6 libx11-data libxau6
libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxml2 libxpm4 libxrender1 libxslt1.1 lsb-release lsof lvm2
monit nginx nginx-common nginx-full ntfs-3g ntp php-bcmath php-cgi php-common php-curl php-fpm php-imagick
php-mbstring php-pam php-symfony-class-loader php-xml php7.0-bcmath php7.0-cgi php7.0-cli php7.0-common php7.0-curl
php7.0-fpm php7.0-json php7.0-mbstring php7.0-opcache php7.0-readline php7.0-xml pm-utils proftpd-basic
proftpd-mod-vroot python-apt-common python-crypto python-dnspython python-ldb python-samba python-talloc python-tdb
python3-apt python3-dbus python3-dialog python3-natsort python3-netifaces python3-pyudev python3.5 python3.5-minimal
quota quotatool rrdcached rrdtool rsync samba samba-common samba-common-bin samba-libs samba-vfs-modules sdparm
shellinabox smartmontools snapraid socat sshpass tdb-tools update-inetd uuid wpasupplicant wsdd xfsprogs xmlstarlet
libncursesw6 libpython3-stdlib libpython3.7-minimal libpython3.7-stdlib libtinfo6 python3 python3-acme python3-apt
python3-asn1crypto python3-certbot python3-certifi python3-cffi-backend python3-chardet python3-configargparse
python3-configobj python3-cryptography python3-dbus python3-distutils python3-future python3-idna python3-josepy
python3-lib2to3 python3-minimal python3-mock python3-netifaces python3-openssl python3-parsedatetime python3-pbr
python3-pkg-resources python3-requests python3-requests-toolbelt python3-rfc3339 python3-setuptools python3-tz
python3-urllib3 python3-zope.component python3-zope.event python3-zope.hookable python3-zope.interface python3.7
python3-certbot-apache python3-certbot-nginx python-certbot-doc python3-doc python3-tk python3-venv python-acme-doc
python3-apt-dbg python-apt-doc python-configobj-doc python-cryptography-doc python3-cryptography-vectors
python-dbus-doc python3-dbus-dbg python-future-doc python-mock-doc python-openssl-doc python3-openssl-dbg
certbot libncursesw6 libpython3.7-minimal libpython3.7-stdlib libtinfo6 python3-acme python3-asn1crypto
python3-certbot python3-certifi python3-cffi-backend python3-chardet python3-configargparse python3-configobj
python3-cryptography python3-distutils python3-future python3-idna python3-josepy python3-lib2to3 python3-mock
python3-openssl python3-parsedatetime python3-pbr python3-pkg-resources python3-requests python3-requests-toolbelt