0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

SASEが導入されたmacOS環境でBambu Studioを動かす

Posted at

概要

  • とある条件を満たすときBambu Studioが正常に動かないことがある
  • 不具合に近いものなのだがまぁワークアラウンドがあるのでご紹介

条件

  • Bambu Lab の 3Dプリンターを使っている
  • Bambu Studioを使って3Dプリンティングしている
  • 社内NWでNetskopeなどのミドルボックス的に動くSASE/CASB的なツールを導入している
  • macOSを使っている

環境

以下の環境ではこのワークアラウンドでうまくいくことを確認済み。

  • Bambu Studio v2.3.1.51
  • macOS Sequoia 15.5

問題の挙動

  • Syncができない

貼り付けた画像_2025_12_15_22_23.jpg

  • 登録されているはずの3Dプリンターが表示されない

image.png

  • Help > Open Network Testがコケる

image.png

image.png

こんな感じのエラーが表示されている。つまるところ自己証明書だから検証できひんよっていうこと。

Mon Dec 15 15:45:46:[test_bambulab]: url=https://api.bambulab.com/v1/iot-service/api/slicer/resource?name=slicer&version=02.03.01.51&guide_version=00.00.00.01
Mon Dec 15 15:45:46:test bambulab failed
Mon Dec 15 15:45:46:status=0, body=, error=curl:SSL peer certificate or SSH remote key was not OK:
SSL certificate problem: self-signed certificate in certificate chain
[Error 60]

ワークアラウンド

以下のパスに記載のファイルにSASE/CASBのCA証明書ファイルを追記する

            "/etc/pki/tls/certs/ca-bundle.crt",   // Fedora/RHEL 6
            "/etc/ssl/certs/ca-certificates.crt", // Debian/Ubuntu/Gentoo etc.
            "/usr/share/ssl/certs/ca-bundle.crt",
            "/usr/local/share/certs/ca-root-nss.crt", // FreeBSD
            "/etc/ssl/cert.pem",
            "/etc/ssl/ca-bundle.pem"    
  • 例えばこんな感じ
$ sudo cat your_ca_cert.pem >> /etc/ssl/cert.pem

動作確認

  • ばっちり成功

image.png

なぜ?

  • SASE環境の場合、OSのキーチェーンに既にCA証明書がインポートされていると思う
    • Bambu StudioのHTTPクライアントがどうもそこを参照してくれてないみたい
  • 自分の周りのWindows環境だと特にこういった小細工なく普通にうまくいってる
  • 不具合っぽいし、まぁそこそこ困るっちゃ困るので、あとで時間あるときに自分で直してPRだそうと思う
    • 取り急ぎワークアラウンド適用でどうにかなっちゃったのでそんなに困っておらず優先度は低い

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?