I had my first build from Offline Depot. Here is the link: https://www.wardvissers.nl/2025/11/10/upgrade-vcf-to-9-0-1-setting-up-an-offline-depot-on-ubuntu/.
So it was time for a revision.
Prerequisites
First, download the required bundle files from Offline Depot. This includes the enterprise components you need.
The Offline Depot runs on Ubuntu on the Depot Server.
Sizing for the disk is 70GB of Offline Depot OS files.
Offline Depot provides 1 TB for data files and /Data.
Login
Login with the user account that you create
Sudo passwd root
Vim /etc/ssh/sshd_config
if the following line exists, possibly commented out (with a # in front):
PermitRootLogin
Then change it to the following, uncommenting if needed (remove the # in front):
PermitRootLogin yes
sudo service ssh restart
now you can login as root
Install Apache and tools
Sudo update
sudo apt install apache2 openssl apache2-utils unzip
Create a certificate config file
nano ~/vcf-openssl.cnf
Paste the following:
[ request ]
default_bits = 2048
prompt = no
default_md = sha256
distinguished_name = dn
x509_extensions = v3_req
[ dn ]
C = US
ST = CA
L = LA
O = TS
OU = IT
CN = flt-depot.wardhomelab.nl
emailAddress = ab.c
[ v3_req ]
basicConstraints = CA:FALSE
keyUsage = digitalSignature, keyEncipherment
extendedKeyUsage = serverAuth
subjectAltName = @alt_names
[ alt_names ]
DNS.1 = flt-depot.wardhomelab.nl
IP.1 = 192.168.150.246
Replace the values with your organization’s details.
Generate the certificate
cd /etc/apache2
sudo mkdir ssl
sudo openssl request -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/vcf.key -out /etc/apache2/ssl/vcf.crt -config /etc/apache2/ssl/vcf-openssl.cnf
Create a basic auth user
Sudo htpasswd -c /etc/apache2/.htpasswd vcfadmin
Configure Apache
sudo nano /etc/apache2/sites-available/default-ssl.conf
Paste the following:
<VirtualHost *:443>
ServerAdmin webmaster@localhost
DocumentRoot /data/html
# SSL
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/vcf.crt
SSLCertificateKeyFile /etc/apache2/ssl/vcf.key
SSLProtocol -all +TLSv1.2 +TLSv1.3
SSLHonorCipherOrder On
SSLCompression Off
# Main VCF Depot
<Directory /data/html>
Options Indexes FollowSymLinks
AllowOverride None
AuthType Basic
AuthName “VCF Depot”
AuthUserFile /etc/apache2/.htpasswd
Require valid-user
</Directory>
# VCF Components
<Directory /data/html/PROD/COMP>
AuthType Basic
AuthName “VCF Depot”
AuthUserFile /etc/apache2/.htpasswd
Require valid-user
</Directory>
# VCF Metadata
<Directory /data/html/PROD/metadata>
AuthType Basic
AuthName “VCF Depot”
AuthUserFile /etc/apache2/.htpasswd
Require valid-user
</Directory>
# VxRail VVS Cookie Validation
<Directory /data/html/PROD/COMP/Compatibility>
<Files “VxrailCompatibilityData.json”>
<If “%{HTTP:Cookie} == ‘session=ngsso-token'”>
Require all granted
</If>
</Files>
</Directory>
# vSAN HCL – no authentication required
<Directory /data/html/PROD/vsan/hcl>
Require all granted
</Directory>
# Required for VCF 5.1.0.0
Alias /products/v1/bundles/lastupdatedtime /data/html/PROD/vsan/hcl/lastupdatedtime.json
Alias /products/v1/bundles/all /data/html/PROD/vsan/hcl/all.json
# UMDS patch store – no authentication required
<Directory /data/html/umps-patch-store>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
</VirtualHost>
Enable modules and restart Apache
sudo a2enmod ssl headers
sudo a2ensite default-ssl
sudo systemctl restart apache2
Extract the metadata ZIP
Sudo chmod 777 /data
Upload vcf-9.0.1.0-offline-depot-metadata.zip /data/ with Winscp
Sudo unzip vcf-download-tool-9.1.1.0.25713929.tar -d /data
Create your Download token
Create your Download token in the Broadcom portal
Create a token file in /home folder
Upload the VCF download tool
Upload the tool in /data folder
tar -xf vcf-download-tool-9.1.1.0.25713929.tar.tar.gz
Sudo chmod 755 /data/vcf-download-tool-9.1.1.0.25713929
sudo reboot
Run the following
cd/data/vcf-download-tool-9.1.1.0.25713929/bin/
./vcf-download-tool configuration generate –software-depot-id
# Versions download
List the latest install components
./vcf-download-tool binaries list –sku VCF –vcf-version 9.1.1 –depot-download-activation-code-file /data/activation-code.txt –type INSTALL –automated-install
Download the latest install components
./vcf-download-tool binaries download –sku VCF –vcf-version 9.1.1 –depot-download-activation-code-file /data/activation-code.txt –type INSTALL –automated-install –depot-store /data/html
List the latest Upgrade components
./vcf-download-tool binaries list –sku VCF –vcf-version 9.1.1 –depot-download-activation-code-file /data/activation-code.txt –type UPGRADE
Download the latest upgrade components
. /vcf-download-tool binaries download –sku VCF –vcf-version 9.1.1 –depot-download-activation-code-file /data/activation-code.txt –type UPGRADE –depot-store /data/html
List not the latest components
./vcf-download-tool binaries list –sku VCF –vcf-version 9.1.1 –depot-download-activation-code-file /data/activation-code.txt –latest=false –type UPGRADE
Download not the latest components
./vcf-download-tool binaries download –sku VCF –vcf-version 9.1.1 –depot-download-activation-code-file /data/activation-code.txt –latest=false –type UPGRADE –depot-store /data/html
ESX Download
./vcf-download-tool esx configuration -G
./vcf-download-tool esx configuration \
-D embeddedEsx-6.7-INTL \
-D esxio-9.1-INTL \
-D armEsx-9.1-INTL \
-D embeddedEsx-8.0-INTL \
-D embeddedEsx-7.0-INTL \
-D embeddedEsx-9.0-INTL \
-D esxio-8.0-INTL \
-D esxio-9.0-INTL
./vcf-download-tool esx configuration -G
./vcf-download-tool esx download –depot-download-activation-code-file /data/activation-code.txt –depot-store /data/html







You must be logged in to post a comment.