try this: given you have files as follow:
aps.cer, downloaded from Apple.
app.key, your own private key generated by openssl.
1st, convert the .cer file into .pem format:
openssl x509 -in aps.cer -inform DER -out aps.pem -outform PEM
2nd, use the .pem file and your private .key to generate .p12 file:
openssl pkcs12 -export -out aps.p12 -inkey app.key -in aps.pem
this should prompt to ask a password for this .p12 file.
CF:
aps_developer_identity.cer to p12 without having to export from Key Chain?
Related Posts:
- How to write C++ on Mac?
- Xcode – How to fix ‘NSUnknownKeyException’, reason: … this class is not key value coding-compliant for the key X” error?
- What are the difference between macOS and iOS?
- Alert”Developer tools access needs to take control of another process for debugging to continue.Type your password to allow this.”
- App iOS stuck on blank white screen when build release React Native
- iOS Simulator – Can’t log in with iCloud
- Load Animated gif in UIImageView IOS
- iOS: Random black screen when loading the app
- Drawing Hexagon grid in Cocos 2d-x
- iPhone system font
- libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)
- libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)
- Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code
- Linker Command failed with exit code 1 (use -v to see invocation), Xcode 8, Swift 3
- Linker Command failed with exit code 1 (use -v to see invocation), Xcode 8, Swift 3
- A server with the specified hostname could not be found
- Where is redeem code for public link for TestFlight?
- How do you create a Swift Date object?
- Xcode 10, Command CodeSign failed with a nonzero exit code
- Swift 4 Attempt to present ViewController whose view is not in the window hierarchy
- Xcode couldn’t find any provisioning profiles matching
- Attempt to present UIViewController on UIViewController whose view is not in the window hierarchy
- symbol(s) not found for architecture x86_64 in xcode 10
- UITableView example for Swift
- Attempt to present UIViewController on UIViewController whose view is not in the window hierarchy
- Converting String to Int with Swift
- CFNetwork SSLHandshake failed (-9824) NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824)
- Where is the variable “code” in SKError defined?
- Command CompileSwift failed with a nonzero exit code in Xcode 10
- Is there a private messaging UI (inbox, sent, compose) framework for iOS?
- ‘strcmp’ was not declared in this scope
- malloc: *** error: incorrect checksum for freed object – object was probably modified after being freed
- Always get build error : No such module ‘Alamofire’
- NSURLErrorDomain error codes description
- what does Error “Thread 1:EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)” mean?
- Duplicate symbols for architecture x86_64 under Xcode
- Print: Entry, “:CFBundleIdentifier”, Does Not Exist
- Date Format in Swift
- What the meaning of question mark ‘?’ in swift?
- Loaded nib but the ‘view’ outlet was not set
- Xcode 9 – “Fixed Width Constraints May Cause Clipping” and Other Localization Warnings
- iPhone 6 and 6 Plus Media Queries
- Got a EXC_CORPSE_NOTIFY symbol crash, how to track it?
- “Could not find any information for class named ViewController”
- warning: ‘characters’ is deprecated: Please use String or Substring directly
- com.apple.WebKit.WebContent drops 113 error: Could not find specified service
- Could not insert new outlet connection: Could not find any information for the class named
- What is the meaning of ‘No bundle URL present’ in react-native?
- Add a simple UIView as header of UICollectionView
- UIButton title text color
- Xcode: Could not locate device support files
- Remove alpha channel in an image
- Pod install is staying on “Setting up CocoaPods Master repo”
- Download Xcode simulator directly
- Swift Error: Variable used within its own initial value
- Could not load NIB in bundle
- Prepare for Segue in Swift
- Xcode error “Could not find Developer Disk Image”
- How to play a sound using Swift?
- IOS home screen icons: where put and what size?
- How do I install pip on macOS or OS X?
- When you use ‘badidea’ or ‘thisisunsafe’ to bypass a Chrome certificate/HSTS error, does it only apply for the current site? [closed]
- Enable OpenMP support in clang in Mac OS X (sierra & Mojave)
- C++ IDE for Macs
- https connection using CURL from command line
- import opencv vs import cv2
- How to set NODE_ENV to production/development in OS X
- Error Running React Native App From Terminal (iOS)
- How to change default Python version?
- Why is the apt-get function not working in the terminal on Mac OS X v10.9 (Mavericks)?
- Where to find Application Loader app in Mac?
- Brew install docker does not include docker engine?
- mysqli_real_connect(): (HY000/2002): No such file or directory
- Double click and run the Php script on mac
- OS X Framework Library not loaded: ‘Image not found’
- How can I install a previous version of Python 3 in macOS using homebrew?
- “code .” Not working in Command Line for Visual Studio Code on OSX/Mac
- adb command not found
- OS X 10.9.2: checking whether the C compiler works… no
- OpenSSL: PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE
- -bash: export: `=’: not a valid identifier
- psql: FATAL: role “postgres” does not exist
- Run script on mac prompt “Permission denied”
- Could not install packages due to an EnvironmentError: [Errno 13]
- Why does cURL return error “(23) Failed writing body”?
- Finding text inside a folder using terminal
- OS x El capitan 10.11 – Virtualbox – Missing Bluetooth Controller Transport
- Command not found go — on Mac after installing Go
- Updating php version on mac
- Unmount the directory which is mounted by sshfs in Mac
- How to run C program on Mac OS X using Terminal?
- Homebrew brew doctor warning about /Library/Frameworks/Python.framework, even with brew’s Python installed
- ERROR: While executing gem … (Gem::FilePermissionError)
- “please check gdb is codesigned – see taskgated(8)” – How to get gdb installed with homebrew code signed?
- Open Sublime Text from Terminal in macOS
- A certificate chain could not be built to a trusted root authority
- how to update npm on macOS
- Apple push notification doesn’t work
- WordPress as webapp login session
- What is a Pem file and how does it differ from other OpenSSL Generated Key File Formats?