Homestead: SHA384 is not supported by your openssl extension.

Created on 8 Nov 2018  路  9Comments  路  Source: laravel/homestead

Versions

  • Vagrant: 2.1.5
  • Provider: Parallels 14
  • Homestead: 7.18.0

Host operating system

Mac OS Mojave

Homestead.yaml

---
name: site-vm
ip: "192.168.10.11"
memory: 8192
cpus: 4
provider: parallels
mongodb: true

authorize: ~/.ssh/id_rsa.pub

keys:
  - ~/.ssh/id_rsa

folders:
  - map: /Users/cwilby/Code/project
    to: /home/vagrant/code

sites:
  - map: site.test
    to: /home/vagrant/code/site-a/public

databases:
  - site

Error output

==> site-vm: Running provisioner: shell...
    site-vm: Running: script: Update Composer
    site-vm: You are running composer as "root", while "/home/vagrant/.composer" is owned by "vagrant"
    site-vm: Updating to version 1.7.3 (stable channel).
    site-vm:
    site-vm:
    site-vm:   [RuntimeException]
    site-vm:   SHA384 is not supported by your openssl extension, could not verify the phar file integrity
    site-vm:
    site-vm: self-update [-r|--rollback] [--clean-backups] [--no-progress] [--update-keys] [--stable] [--preview] [--snapshot] [--set-channel-only] [--] [<version>]

References

https://github.com/composer/composer/issues/7669
https://github.com/composer/composer/pull/7649

Most helpful comment

hotel wifi is not conducive to building vagrant boxes. :(

All 9 comments

The composer version in the latest box predates composer/composer#7649, which fixes this bug. For an individual, the fix is to manually reinstall, as it could no longer update itself.

A new version of the laravel/homestead box could fix the issue by installing the latest version of composer.

yah, i think we just need to wait for the next box, and then this line will take care of it.

https://github.com/laravel/settler/blob/ad24fcbe0baacb9b570fdc980e960b8859e6beef/scripts/provision.sh#L106

otherwise users are free to manually install if they really need the new version for now.

Thanks for the report.

I'm currently building fresh Virtualbox & Parallels boxes. I don't have my VMware drive and of course I'm out of town. I'll be able to start Hyper-V from here but won't be able to build a new VMware box until I get home Saturday afternoon.

hotel wifi is not conducive to building vagrant boxes. :(

I've attempted to build the box 5 times since yesterday and I'm giving up until I get home >.<

Virtualbox tested fine. Uploading Virtualbox and will release. Then will upload parallels. will kick off the Vmware and Hyper-V builds as well.

https://github.com/laravel/settler/releases/tag/v6.4.0

All providers have been released, closing this as it should be resolved now. Thanks for reporting and patience while I tried to build boxes a gazillion times.

@svpernova09 Just cloned and ran the box (over LTE and everything!) and everything works, thank you thank you! :+1:

@cwilby Thanks for the update!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dorinniscu picture dorinniscu  路  4Comments

daryn-k picture daryn-k  路  5Comments

Modelizer picture Modelizer  路  5Comments

m4olivei picture m4olivei  路  4Comments

yazeed picture yazeed  路  3Comments