Mac在钥匙串创建系统证书失败

在Mac上使用Eclipse进行gdb调试时遇到证书创建失败的问题,文中提供了两种解决方法:一是先创建登录证书,再导出并导入到系统证书中;二是直接将登录证书拖入系统。若调试仍失败,可重新创建证书并设置为始终信任,同时结束'taskgated'进程,然后gdb即可正常工作。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

问题:

在Eclipse的Debug,使用gdb的时候,报错如下

Error in final launch sequence
Failed to execute MI command:
-exec-run
Error message from debugger back end:
Unable to find Mach task port for process-id 99177: (os/kern) failure (0x5).
 (please check gdb is codesigned - see taskgated(8))
Unable to find Mach task port for process-id 99177: (os/kern) failure (0x5).
 (please check gdb is codesigned - see taskgated(8))
参考: https://segmentfault.com/q/1010000004136334

在证书创建的最后一步选择系统,点击创建,输入密码之后,返回创建失败。

参考:https://bbs.feng.com/read-htm-tid-11539906.html

If you cannot store the certificate in the System keychain, create it in the login keychain, then exported it. You can then import it 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值