View Issue Details

IDProjectCategoryView StatusLast Update
0001060bareos-core[All Projects] storage daemonpublic2019-03-13 18:32
Reporterdr80Assigned To 
Status newResolutionopen 
PlatformLinuxOSSLESOS Version12
Product Version18.2.5 
Target VersionFixed in Version 
Summary0001060: bareos-storage-droplet: no https possible with AWS S3

https is not possible with bareos-storage-droplet in combination with AWS S3. Configuration was created as described in the documentation (

Only when "use_https" is set to false in droplet.profile it will works.

Steps To Reproduce- Install Bareos 18.2.5 with bareos-storage-droplet
- Create S3 Bucket on AWS for Region eu-central-1 (Frankfurt)
- Configure the Storage Daemon for using droplet
- label new volume to S3 "label volume=Full-0001 pool=Full storage=S3_Object"

Enter a period to cancel a command.
label volume=Full-0001 pool=Full storage=S3_Object
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Connecting to Storage daemon S3_Object at linux-o9nk.local:9103 ...
Sending label command for Volume "Full-0001" Slot 0 ...
3910 Unable to open device ""S3_ObjectStorage" (S3)": ERR=stored/ Could not open: S3/Full-0001, ERR=Success

Enter a period to cancel a command.
17-Feb 19:47 bareos-sd: ERROR in backends/ error: src/conn.c:389: init_ssl_conn: SSL connect error: 0: 0
17-Feb 19:47 bareos-sd: ERROR in backends/ error: src/conn.c:392: init_ssl_conn: SSL certificate verification status: 0: ok
Additional InformationTested with OS: SLES 12 SP4/CentOS 7 and version 18.2.5/18.2.6

Storage Configuration: bareos-sd.d/device/S3_ObjectStorage.conf

Device {
  Name = S3_ObjectStorage
  Media Type = S3_Object1
  Archive Device = S3 Object Storage

  Device Options = "profile=/etc/bareos/bareos-sd.d/device/droplet/aws_eu-central-1.profile,bucket=<aws_s3_bucketname>,chunksize=100M,iothreads=0,retries=1"

  Device Type = droplet
  Label Media = yes # lets Bareos label unlabeled media
  Random Access = yes
  Automatic Mount = yes # when device opened, read it
  Removable Media = no
  Always Open = no
  Description = "S3 device"
  Maximum Concurrent Jobs = 1

Director Configuration: bareos-dir.d\storage\S3_Object.conf

Storage {
  Name = S3_Object
  Address = linux-o9nk.local
  Password = "<pw-storage>"
  Device = S3_ObjectStorage
  Media Type = S3_Object1

Droplet Configuration: bareos-sd.d\device\aws_eu-central-1.profile

# Generic host, but can't access buckets younger than 24h:
#host =
# Region specific host name. Can access also new buckets.
host =
use_https = true
backend = s3
aws_region = eu-central-1
aws_auth_sign_version = 4
access_key = "<ACCESS_KEY>"
secret_key = "<SECRET_KEY>"
pricing_dir = ""
Tagsaws, droplet, s3, storage
bareos-master: impact
bareos-master: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action




2019-03-13 18:32

reporter   ~0003282

Have you tried with host =
Works here on 18.2.5 on Centos7 with region us-west-2.

*label volume=Full-AWS-0001 pool=Full-AWS storage=S3_Object
Connecting to Storage daemon S3_Object at ...
Sending label command for Volume "Full-AWS-0001" Slot 0 ...
3000 OK label. VolBytes=226 Volume="Full-AWS-0001" Device="AWS_S3_1-00" (AWS S3 Storage)
Catalog record for Volume "Full-AWS-0001", Slot 0 successfully created.
Requesting to mount AWS_S3_1-00 ...
3906 File device "AWS_S3_1-00" (AWS S3 Storage) is always mounted.

Issue History

Date Modified Username Field Change
2019-02-17 20:07 dr80 New Issue
2019-02-17 20:07 dr80 Tag Attached: s3;droplet;aws;storage
2019-02-17 20:12 dr80 Tag Attached: droplet
2019-02-17 20:12 dr80 Tag Attached: s3
2019-02-17 20:12 dr80 Tag Attached: aws
2019-02-17 20:12 dr80 Tag Attached: storage
2019-02-17 20:12 dr80 Tag Detached: s3;droplet;aws;storage
2019-03-13 18:32 andrei693 Note Added: 0003282